Comments on: HTML5 Simplequiz 6: Zeldman’s fat footer https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/ helping you implement HTML5 today Wed, 29 Jun 2016 23:08:47 +0000 hourly 1 By: Dale Cruse https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-28848 Thu, 16 Aug 2012 20:37:32 +0000 http://html5doctor.com/?p=2883#comment-28848 Jason, how does the menu element fit this circumstance?

]]>
By: Jason https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-28847 Thu, 16 Aug 2012 20:30:31 +0000 http://html5doctor.com/?p=2883#comment-28847 menu!
If you break it down, this appears to be a footer menu to me.

footer
–>menu
—->li figure figcaption /li
–>/menu
–>p copyright /p
/footer

]]>
By: Tim DiMarco https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14697 Thu, 17 Mar 2011 07:27:50 +0000 http://html5doctor.com/?p=2883#comment-14697 Ok, It has to be included inside the because it is called a “fat footer” not a “footer with some links above it” and also there is an obvious break in the page when it switches to black. So that knocks out D and E. The tag is used for site navigation not links to videos. You could put it in an but that really depends on if you think videos the author likes is some how related to the article. I would go with A.

]]>
By: Steve Adams https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14671 Fri, 11 Mar 2011 20:42:17 +0000 http://html5doctor.com/?p=2883#comment-14671 The sectioning nature of HTML5 allows for portable content. HTML5 elements prompt us to consider content hierarchy – to this end the DOM tree.
Other options…

F. Image and caption twinned in a <div>, grouped in an <aside> element immediately before the <footer>:

<aside>
<div><img><p class="caption">…<p></div>
…
</aside>
<footer>
<p><small>Copyright</small></p>
</footer>

G. Image and caption in a <figure> element, grouped in an <div> for styling, immediately before the <footer>.

<div>
<figure>
<figcaption>…</figcaption>
</figure>
…
</div>
<footer>
<p><small>Copyright</small></p>
</footer>

H. Image and caption in a <div>, grouped inside the <footer>:

<footer>
<div><img><p class="caption">…<p></div>
…
<p><small>Copyright</small></p>
</footer>

]]>
By: Thierry Koblentz https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14669 Fri, 11 Mar 2011 18:49:01 +0000 http://html5doctor.com/?p=2883#comment-14669

I consider that the <aside> to be tangentially related to the whole of zeldman.com

But, zeldman.com is not content per se. Imho, there is no more relationship between this <aside> and the content of that page than there is with the content of any other page within the site.

The spec says:

The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content.

The way I understand this is that the relationship is between blocks of content in a same document. Saying that this content is related to the whole site makes sense, but I don’t think it justifies making that content an <aside>.

]]>
By: Shelley https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14667 Fri, 11 Mar 2011 17:47:07 +0000 http://html5doctor.com/?p=2883#comment-14667

I think that the definition of <figure> will be used to caption such content. and that the spec should be clarified and widened slightly to allow this.

What do you think?

Yup

]]>
By: Bruce Lawson https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14666 Fri, 11 Mar 2011 17:44:14 +0000 http://html5doctor.com/?p=2883#comment-14666 Thanks everyone for the considered comments and debate.

The answer, I think, is E:

<aside> 
  <figure>…</figure> 
  … 
  </aside> 
  <footer> 
  <p><small>Copyright © 1995–2011 L. Jeffrey Zeldman.</small></p> 
</footer>

It’s not <nav>, because those links aren’t links to other pages in Zeldman’s site (or closely related sites). <div> would be fine – you can still use <div> – but it’s the element of last resort, and <aside> is semantically the right choice, as it is defined

The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content.

I consider that the <aside> to be tangentially related to the whole of zeldman.com, so would put it immediately before the <footer> rather than within it. The fact that its styled to look like the same block doesn’t alter those semantics (and you could facilitate syling them together by wrapping them both in a <div> – did I mention that you can still use <div>?).

In a comment, Zeldman wrote "I would argue that the current HTML5 definition of "footer" is too narrow; that it is based on only the narrowest of existing web design conventions." I’d argue the opposite, actually. I’d argue that <header> and <footer> are not defined tightly enough. <footer> is defined

The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.

But what happens if I want to say, at the top of an article “This comment written by Bruce on 11 March”? A <header> element would seem to be equally applicable:

The header element represents a group of introductory or navigational aids.

Is there really a semantic difference between <header> and <footer>?

I’m similarly interested in the debate that was prompted by my use of <figure> to wrap the images and explanatory text. I waver between agreeing with Jeremy, who called me out on it, and agreeing with Shelley (who thought I was right). Most importantly, I agree with Alohci, who says

…"captioned flow content" is commonplace, and would fully justify a dedicated element. If figure cannot be used simply to apply a caption to an image or other flow content, then if as a web author one wants to semantically associate a caption with a specific pair of images what is the alternative? As far as I can see, it’s <div aria-labelledby="mycaption"><img src="myimage1″><img src="myimage2″></div><p id="mycaption">My Caption text</p>. I think that’s a very poor substitute.

I am in case convinced that the figure element will be widely used to caption flow content, and especially images, no matter what the spec says.

I think that the definition of <figure> will be used to caption such content. and that the spec should be clarified and widened slightly to allow this.

What do you think?

]]>
By: HTML Code Dude https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14658 Wed, 09 Mar 2011 21:12:50 +0000 http://html5doctor.com/?p=2883#comment-14658 The answer is E.

The images in the fat footer are not a footer at all, they don’t finish off the page or section they are just content loosely related to the section they are in. Therefore the images should be held in a aside element and then the copyright would be the actual footer element.

]]>
By: Michael Zajac https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14647 Tue, 08 Mar 2011 17:49:02 +0000 http://html5doctor.com/?p=2883#comment-14647 E, but sans figure.

The items above the fine print are a list of links with incidental images. An aside is a good way to explicitly indicate their relationship to the page, which wasn’t really possible in HTML 4.

Each item is an annotated link. The associated images act as either graphic headers which could profitably be marked up as heading elements (e.g., “HTML5 For Web Designers”), or as supporting graphic elements that could be a plain img (portrait of Whitney Hess), or background-image (ALA flavour image which may or may not appear in the linked article). The figure element, whose main content is the figure, with caption as an optional accoutrement, isn’t appropriate (regardless of whether it’s referred to from the main text).

]]>
By: Jeremy Keith https://stevefaulkner.github.io/html5doctored/html5-simplequiz-6-zeldmans-fat-footer/#comment-14641 Mon, 07 Mar 2011 13:26:52 +0000 http://html5doctor.com/?p=2883#comment-14641 Alohci wrote: “I am in case convinced that the figure element will be widely used to caption flow content, and especially images, no matter what the spec says.”

I agree with you there.

]]>