HTML Dog

Skip to navigation

CSS Property: content

Specifies generated content that can be displayed before or after an element. Used in conjunction with the :before and :after pseudo-elements. Not supported by IE.

Possible Values

Example


p:before { content: url(images/quote.gif); }

p:after { content: close-quote; }

li:before { content: ">>"; }