| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <html> |
| <head> |
| <title>Attribute value selector</title> |
| <style type="text/css">address { background-color : red } |
| address[title="foo"] { background-color : lime } |
| span[title="a"] { background-color : red }</style> |
| <link rel="first" href="css3-modsel-1.html" title="Groups of selectors"> |
| <link rel="prev" href="css3-modsel-5.html" title="Attribute existence selector"> |
| <link rel="next" href="css3-modsel-7.html" title="Attribute multivalue selector"> |
| <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked"> |
| <link rel="up" href="./index.html"> |
| <link rel="top" href="../../index.html"> |
| </head> |
| <body> |
| <address title="foo"> |
| <span title="b">This address should </span> |
| <span title="aa">have a green background because the |
| selector in last rule does not apply to inner SPANs. |
| </span> |
| </address> |
| </body> |
| </html> |