tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Preißer <>
Subject RE: svn commit: r1521594 [1/16] - in /tomcat/site/trunk: docs/ docs/images/ docs/stylesheets/ xdocs/images/ xdocs/stylesheets/
Date Wed, 11 Sep 2013 14:22:13 GMT
Hi Konstantin,

> -----Original Message-----
> From: Konstantin Kolinko []
> Sent: Wednesday, September 11, 2013 4:05 PM
> The header/main/footer tags are not in HTML 5.
> They are in 5.1 which is not a spec yet, just a draft. I think it is too early to use
> them.

The <main> tag is only in HTML 5.1 [1], but <header> and <footer> are in
HTML5 [2] which is a candidate recommendation, so I think it should be okay to use them -
Firefox, Chrome and IE 9/10 support <header> and <footer> (they use "display:
block;" CSS for it), but IE 9 and below will use <div> which is added with conditional

The <main> tag is not supported by IE 10 yet, so I added the CSS "main { display: block;
}" to use the correct style in IE 10. However, Firefox 23 and Chrome 29 already support the
<main> tag, so I think it would be OK to leave it. But we can remove it as the HTML
5 spec says, to mark the "main" content of a page, just leave it and mark everything else
with "header" and "footer"; so I think, semantically, the <main> tag would not be needed.

Konstantin Preißer


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message