1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>::first-line pseudo-element
</title>
5 <style type=
"text/css">p:first-line
{ background-color : lime
}
7 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
8 <link rel=
"prev" href=
"css3-modsel-37.html" title=
":only-of-type pseudo-class">
9 <link rel=
"next" href=
"css3-modsel-39.html" title=
"::first-letter pseudo-element">
10 <link rel=
"last" href=
"css3-modsel-d5e.html" title=
"NEGATED :indeterminate with :checked">
11 <link rel=
"up" href=
"./index.html">
12 <link rel=
"top" href=
"../../index.html">
15 <p>This very long paragraph should have a
16 first line with green background. This very long paragraph should have a first
17 line with green background. This very long paragraph should have a first line
18 with green background. This very long paragraph should have a first line with
19 green background. This very long paragraph should have a first line with green
20 background. This very long paragraph should have a first line with green background.
21 This very long paragraph should have a first line with green background.
</p>