Ted Drake wrote:

What is the section tag? How would it be used?


See this intro to XHTML2,

http://www-106.ibm.com/developerworks/web/library/wa-xhtml/

In part it means you don't need <h1> <h2> <h3> anymore, you just have <h> and you derive the heading level by the number of <section>s it's within. It removes the arbitrary <h6> as the smallest heading you can do, and it's also how Docbook does it.

Using <sections> and <h> tags also means you get more structure for CSS selectors, and other XML processing tools. To match paragraphs under headings 3 sections deep you'd type,

section section section p { font-size:xx-small ; }

Or to make different sized headings based on their depth you'd write,

section h { font-size:large; }
section section h { font-size:medium; }
section section section h { font-size:small; }


[I'm not commenting on whether XHTML 2 will be popular, but that's one idea behind it]



.Matthew Cruickshank http://holloway.co.nz/



******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to