1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>:only-of-type pseudo-class
</title>
5 <style type=
"text/css">.red
{ background-color : red
}
6 .t1 :only-of-type { background-color : lime
}
8 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
9 <link rel=
"prev" href=
"css3-modsel-36.html" title=
":only-child pseudo-class">
10 <link rel=
"next" href=
"css3-modsel-38.html" title=
"::first-line pseudo-element">
11 <link rel=
"last" href=
"css3-modsel-d5e.html" title=
"NEGATED :indeterminate with :checked">
12 <link rel=
"up" href=
"./index.html">
13 <link rel=
"top" href=
"../../index.html">
17 <p>This paragraph should have normal background
</p>
18 <address class=
"red">But this address should have green background
</address>
19 <p>This paragraph should have normal background
</p>