1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>:empty pseudo-class and text
</title>
5 <style type=
"text/css">
6 p
{ background: lime
; }
7 p:empty
{ background: red
; }
9 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
10 <link rel=
"prev" href=
"css3-modsel-144.html" title=
"NEGATED :enabled:disabled pseudo-classes">
11 <link rel=
"next" href=
"css3-modsel-149.html" title=
":empty pseudo-class and empty elements">
12 <link rel=
"last" href=
"css3-modsel-d4.html" title=
"Dynamic updating of :first-child and :last-child">
13 <link rel=
"up" href=
"./index.html">
14 <link rel=
"top" href=
"../../index.html">
17 <p>This line should have a green background.
</p>