HTML and CSS Reference
In-Depth Information
Potential Trade-offs
Few and minimal. The resultant documents may be slightly larger. If you're not serving gigabytes per day, this
is not worth worrying about.
Manually, you simply need to inspect each file and determine where the end-tags belong. For example, consider
this table modeled after one in the HTML 4 specification:
<th rowspan="2">
<th colspan="2">Average
<th rowspan="2">Blond Hair
Only the </table> end-tag is present. All the other end-tags are implied. A browser can probably figure this
out. A human author might not and is likely to insert new content in the wrong place. Add end-tags after each
element, like so:
Code View:
<th rowspan="2"></th>
<th colspan="2">Average</th>
<th rowspan="2">Blond Hair</th>
Paragraphs are worth special attention here. When paragraph tags are omitted, the <p> start-tag usually serves
as an end-tag rather than a start-tag. You'll commonly see content such as this tidbit from Through the Looking
Search WWH ::

Custom Search