content | WebReference

content

Name: content

Description: Specifies the content to appear either after or before an element.

Browser Compatibility: NN 6+ / O 4+

Inherited: No

Values:

Code Example:

p.note:before {content: "Note: ";}

Comments: Used with the :before and :after pseudo-elements