XHTML 2.0 suggest additional tags to distinguish between content and navigation lists/headers/footers etc.

In addition to new tags to represent navigation lists, I would suggest an
overal XML structure of:
<?xml ... ?>
<html>
<head>
... title, meta tags.
... links to include scripts, styles
</head>
<body>

<header> ... optional: navigation lists, or header info:
paragraphs,tables,etc. ... </header>
<sidebar> ... optional: navigation lists, or sidebar info:
paragraphs,tables,etc. ... </sidebar>

<content>
... paragraphs, tables, lists, sections, objects (images,applets,etc.)
</content>

<footer> ... optional: navigation lists, or footer info:
paragraphs,tables,etc. ... </footer>

</body>
</html>

The above can be achieved using <div class="header"> ... </div> etc.
but allows XML parsers to extract the "guts" of any document,
ignoring headers, footers, sidebars,
(with perhaps <tableofcontents> and <glossary> before and after the
<content> block).

All the tags can be styled as usual. What do you think? Best regards,
David.

Received on Friday, 28 February 2003 10:49:52 UTC