HTML and CSS Reference
In-Depth Information
End tags never include attributes. In HTML, most tags, but not all, have
an end tag. And, to make life a bit easier for HTML authors, the browser
software often infers an end tag from surrounding and obvious context,
so you needn't explicitly include some end tags in your source HTML
document. (We tell you which are optional and which are never omit-
ted when we describe each tag in later chapters.) Our simple example is
missing an end tag that is so commonly inferred and hence not included
in the source that some veteran HTML authors don't even know that it
exists. Which one?
The XHTML standard is much more rigid, insisting that all tags have
corresponding end tags. [ End Tags, 16.3.2 ] [ Handling Empty Elements,
16.3.3 ]
Search WWH ::

Custom Search