Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p:before { content:"Read this -"; } p#hometown:before { content:normal; } </style> </head> <body> <p>My name is Donald</p> <p id="hometown">I live in Ducksburg</p> <b>Note:</b> For :before to work in IE8, a DOCTYPE must be declared. </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_content_normal by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:51:40 GMT --> </html>
Result:
Try it Yourself - © w3schools.com