1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>More than one class selector
</title>
5 <style type=
"text/css">
6 p
{ background: red
; color: yellow
; }
7 p
.t1
.t2
{ background: green
; color: white
; }
8 div
{ background: green
; color: white
; }
9 div
.t1
{ background: red
; color: yellow
; }
10 address
{ background: red
; color: yellow
; }
11 address
.t5
.t5
{ background: green
; color: white
; }
13 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
14 <link rel=
"prev" href=
"css3-modsel-14b.html" title=
"More than one class selector">
15 <link rel=
"next" href=
"css3-modsel-14d.html" title=
"NEGATED More than one class selector">
16 <link rel=
"last" href=
"css3-modsel-d4.html" title=
"Dynamic updating of :first-child and :last-child">
17 <link rel=
"up" href=
"./index.html">
18 <link rel=
"top" href=
"../../index.html">
21 <p class=
"t1 t2">This line should be green.
</p>
22 <div class=
"t3">This line should be green.
</div>
23 <address class=
"t4 t5 t6">This line should be green.
</address>