W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] image captions

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 5 Apr 2006 19:59:15 -0400
Message-ID: <D732C90F-9A3E-41EC-BE60-F0E9BE09C753@michelf.com>
I suggested this before:

>     <figure>
>       <img src="...">
>       <caption>Some image found <a href="...">here</a></caption>
>     </figure>

but now I'm aiming at something simpler.

When you read some text, a figure is an illustration of what the text  
says; it can be an image but is not necessarily: it could be a code  
snippet, illustrative text or an  mathematical equation. Its main  
characteristic is that it is separated from the flow of the text: you  
can read the text ignoring figures (and captions) and it should still  
make sense.

So what did I just describe? It just seems to me that I've described  
is the aside element. Would it make sense to simply lay out figures  
that way?

     <aside>
       <h1>Figure 1: Some image found <a href="...">here</a></h1>
       <p><img src="..."></p>
     </aside>

What about placing the image above the header? And is my  
interpretation of the semantics correct? I'm wondering that I may be  
abusing aside a little.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Wednesday, 5 April 2006 16:59:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC