[whatwg] image captions

fantasai fantasai.lists at inkedblade.net
Thu Apr 6 00:49:27 PDT 2006


Alexey Feldgendler wrote:
> On Thu, 06 Apr 2006 06:59:15 +0700, Michel Fortin  
> <michel.fortin at michelf.com> wrote:
> 
>>      <aside>
>>        <h1>Figure 1: Some image found <a href="...">here</a></h1>
>>        <p><img src="..."></p>
>>      </aside>
> 
> 
> I'm afraid this won't degrade gracefully: the <h1> would confuse the  
> document outline facilities in today's user agents.

You could use <h6>. Just always use <h6> for the figure caption.

Actually, I think WA should generally allow the use of <h6> as a
terminal-level header, similar to the simplesect element in DocBook.
It's a useful markup construct sometimes, at least in my experience.

~fantasai



More information about the whatwg mailing list