The first line is
purple.

This text is yellow

<html> <head> <style type="text/css"> <!-- p:first-line { color: purple; } #yellowtext { color: yellow; } --></style> </head> <body> <p>The first line is<br> purple.</p> <h1 id="yellowtext">This text is yellow</h1> </body> </html>