Testing Fourth Testable Statement of Sec 1.0 of CSS1 Specification
-
4.all HTML element types are possible selectors
PASS CRITERIA:
If statement #4 above is passed, then:
The body background is "flags" ("body" is an HTML element).
The rule applied is "BODY {background: url(flagbg.gif)}".
This top-level heading should be blue .
The rule applied is "H1 {color: blue }".
This second-level heading should be green (heading is an HTML element).
The rule applied is "H2 {color: green }".
This third-level heading should be silver. The rule applied is "H3 {color: silver}."
The word important should be yellow. The rule applied here is
"strong {color: yellow}".
-
The bullet to the left of this list-item should be red(list-item is an HTML element).
The text should be red.
The rules applied are: "li {color: red}" and "ul {color: gray}".
-
The number to the left of this list-item should be red; the text should be
red.
The rules applied are "li {color: red}" and "ol {color: navy}".
This paragraph is green, and this word is maroon. The rules applied are "P {color: green}" and "EM {color: maroon}".
All remaining properties in all instances above should be UA-default.
Each of the rules above specifies a different HTML element as a selector, up to
the total number of different HTML elements in the set.
(NOTE: Should there be more HTML elements above?)
To move to next test directly, click here
(NOTE: This test may be shortened in future)