[html5] Template questions...

Sarah Forst sarah.plowright at gmail.com
Sun May 15 16:43:30 PDT 2011


Actually I believe in HTML 5 it's now perfectly fine to put block level elements inside an anchor tag.

Sent from my iPhone

On May 15, 2011, at 7:21 PM, Ricardo Tomasi <ricardobeat at gmail.com> wrote:

> Nothing wrong with wrapping time in <h3> if it's part of the heading, like a subtitle. that's why we have hgroup. But It doesn't make much sense to have an article element without any actual content, just a header. If it's a list of articles, not the articles themselves, you should use an unordered list. The article tag should be able to be extracted from the page and retain it's meaning.
> 
> One thing is definitely wrong: you can't put block-level elements (h1, h2, hgroup) inside an inline one - <a>.
> 
> You can style the new elements by their tags if you apply the html5 shiv. Here's what I think this should look like: https://gist.github.com/973657
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20110515/55f62581/attachment-0003.htm>


More information about the Help mailing list