Ian Hickson wrote:

> The "correct" way of writing a web page is a two stage process. First,
> markup your content semantically -- e.g., use <h1> for the main header,

Don't use h1 for the title, or you'll get a structure like

1. Writing webpages
1.1. Semantical markup
1.1.1. Headers
1.2. Formatting
1.2.1. setting up stylesheets
1.3. Final notes

while it should be

Writing webpages
1. Semantical markup
1.1. Headers
2. Formatting
2.1. setting up stylesheets
3. Final notes

[snipping stuff I agree with]

> <div> and <span> are meaningless (literally) so they should almost never
> appear in the markup -- exceptions are those where, for example, you want
> more than one border to appear and the style language you use doesn't give
> you enough flexibility to do so.

What, if I want to extend the semantics of HTML, e.g. I want to invent a 
"header" section or "footer" section?



Reply via email to