Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p::first-letter { color: #ff0000; font-size: xx-large; } p::first-line { color: #0000ff; font-variant: small-caps; } </style> </head> <body> <p>You can combine the ::first-letter and ::first-line pseudo-elements to add a special effect to the first letter and the first line of a text!</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_firstline_letter by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:39 GMT --> </html>
Result:
Try it Yourself - © w3schools.com