content

inserts generated content

Example

1

Description

inserts generated content

This property is used in conjuction with the :before and :after pseudo-elements to insert generated content, such as counters.

Values

Value Description
Values
<string>content is the given text
attr(name)content is one of the selector's attributes
close-quotecontent is a closing quote
countercontent is a counter
no-close-quoteclosing quote is removed from content
no-open-quoteopening quote is removed from content
nonecontent is nothing
normalcontent is "normal" (defaults to nothing)
open-quotecontent is an opening quote
url()URL of a media resource for content