You are here : cssCSS 3content

content - CSS 3

The content property is used with the :before and :after pseudo-elements, to insert generated content.


Syntax

content: normal|none|counter|attr|string|open-quote|close-quote|no-open-quote|no-close-quote|url|initial|inherit;


Example

a:after
	{
	   
	content: " (" attr(href) ")";
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference