Edit This Code:
See Result »
<
!DOCTYPE
html
>
<
html
>
<
head
>
<
style
>
p:before
{
content
:
"Read this -"
;
}
<
/style
>
<
/head
>
<
body
>
<
p
>
My name is Donald
<
/p
>
<
p
>
I live in Ducksburg
<
/p
>
<
b
>
Note:
<
/b
>
For the content property to work in IE8, a DOCTYPE must be declared.
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <head> <style> p:before { content: "Read this -"; } </style> </head> <body> <p>My name is Donald</p> <p>I live in Ducksburg</p> <b>Note:</b> For the content property to work in IE8, a DOCTYPE must be declared. </body> </html>
Result:
Privacy Policy