HTML CSS examples for CSS:Quiz
Set text color to red, for the first line of the <p> element.
<!DOCTYPE html> <html> <head> <style> p::first-line {<!--from www. j a v a 2 s.c om--> color: red; } </style> </head> <body> <p>This is a test. This is a test. This is a test. This is a test. This is a test. This is a test.</p> </body> </html>