Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p::first-line { background-color: yellow; } </style> </head> <body> <h1>WWF's Mission Statement</h1> <p>To stop the degradation of the planet's natural environment and to build a future in which humans live in harmony with nature, by; conserving the world's biological diversity, ensuring that the use of renewable natural resources is sustainable, and promoting the reduction of pollution and wasteful consumption.</p> <p><b>Note:</b> For this selector to work in IE 5.5-8, you must specify the old, single-colon CSS2 syntax (:first-line instead of ::first-line).</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_firstline by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:14:10 GMT --> </html>
Result:
Try it Yourself - © w3schools.com