- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 2 Dec 2009 16:16:02 -0600
- To: Jeroen van der Gun <noreplytopreventspam@blijbol.nl>
- Cc: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, public-html <public-html@w3.org>
On Wed, Dec 2, 2009 at 4:10 PM, Jeroen van der Gun <noreplytopreventspam@blijbol.nl> wrote: > It just crossed my mind that there actually is another way to add a > caption to a non-movable object: a subsection. > > So this is the bad situation: > > <p>See the following photo:</p> > <figure> > <dd><img src="photo.jpg" title="Photo" /></dd> > <dt>A photo of my dog in the garden.</dt> > </figure> > > This is solution #1: > > <p>See the following photo:</p> > <section> > <h1>A photo of my dog in the garden.</h1> > <p><img src="photo.jpg" title="Photo" /></p> > </section> > > This is solution #2: > > <p>See the following photo of my dog in the garden:</p> > <p><img src="photo.jpg" title="Photo" /></p> > > This is solution #3: > > <p>See the attached photo.</p> > <figure> > <dd><img src="photo.jpg" title="Photo" /></dd> > <dt>A photo of my dog in the garden.</dt> > </figure> True, *but there is still no need to*. The image+caption is still a valid figure according to the spec. There is no reason to pursue workarounds, as no workarounds are necessary. Just mark it up as a <figure> and be done with it. ~TJ
Received on Wednesday, 2 December 2009 22:16:34 UTC