Section 4.1
- A user agent must ensure that rendering is unchanged by the presence or
absence of start tags and end tags when the HTML DTD indicates that these
are optional.
This can only be tested using CSS. If this browser does not support CSS, then
there is nothing that can be done to check if this section is passed or not.
Start Tags
The following elements have optional start tags:
- BODY
- document body: test 4.1-1a
- HEAD
- document head: test 4.1-1b
- HTML
- document root element: test 4.1-2
- TBODY
- table body: test
4.1-3
End Tags
The following elements have optional end tags:
- BODY
- document body: virtually untestable
- COLGROUP
- table column group: virtually untestable
- DD
- definition description: test 4.1-4
- DT
- definition term: test 4.1-4
- HEAD
- document head: virtually untestable
- HTML
- document root element: virtually untestable
- LI
- list item: test
4.1-5
- OPTION
- selectable choice: virtually untestable (not styleable)
- P
- paragraph: test
4.1-6
- TBODY
- table body: test
4.1-7
- TD
- table data cell: test 4.1-8
- TFOOT
- table footer: test 4.1-7
- TH
- table header cell: test 4.1-9
- THEAD
- table header: test 4.1-7
- TR
- table row: test
4.1-10
There is also a combination test for table elements: test 4.1-11