Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/selectors/type-selector-001.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>CSS Test: Type selectors</title>
<link rel="match" href="type-selector-001-ref.xht"/>
<meta name="assert" content="Basic type selectors apply to each type." />
<style type="text/css">
div, blockquote
{
color: green;
}
</style>
</head>
<body>
<p>Test passes if the "Filler Text" below is green.</p>
<blockquote>Filler Text</blockquote>
<div>Filler Text</div>
</body>
</html>