<i>This text in italics.</i>
You should take care when nesting elements in a document. You must
end nested elements by starting with the most recent one and working
your way back out. In this example, a phrase in bold
(<b>) appears in the text of a link
(<a href=...>) contained in a paragraph:
<p>
This is some text in the body, with a
<a href="another_doc.html">link, a portion of which
is <b>set in bold</b></a>
</p>
There are a handful of HTML elements that do not have end tags
because they are standalone elements. For example, the image element
(<img>) inserts a single graphic into a
document and does not require an end tag. Other standalone elements
include the line break (<br>), horizontal
rule (<hr>), and others that provide
information about a document that doesn't affect its
displayed content such as <meta> and
<base>.
 |  |  |
2. HTML Overview |  | 2.3. XHTML |