content

UK['kɒntent] US[ˈkɑ:ntent]

n. Content; content; directory (of books, etc.); capacity

adj. Satisfied, satisfied; willing; willing

vt. To satisfy, to satisfy

Third person singular: contents Plural: contents Present participle: contenting Past tense: contented past participle: contented

css content property syntax

Function:The content attribute is used in conjunction with the :before and :after pseudo-elements to insert generated content.

Description:This attribute is used to define the generated content placed before or after the element. By default, this is often inline content, but the type of box this content creates can be controlled using the display attribute.

Note:All browsers support the content attribute. Internet Explorer 8 (and later) supports the content attribute if !DOCTYPE is specified.

css content property example

    

php中文网 有很多免费视频教程.

注释:如果已规定 !DOCTYPE,那么 Internet Explorer 8 (以及更高版本)支持 content 属性。


Run instance »

Click the "Run instance" button to view the online instance