Quote:
Originally Posted by AlexBell
No, I'd use something like
<div class="section">
<a name="preface"></a> <!-- Anchors go before headings -->
<h3>Preface to this version</h3>
[...]
This is a small section of an ebook I uploaded in XHTML with CSS format in a post last night asking people to check out the template.
|
Note that the "name" attribute is deprecated or forbidden in XHTML (depends on the version). Use "id" in another element for anchors, like this:
<h3 id="preface">Preface to this version</h3>