W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Image captions

From: Thomas Broyer <t.broyer@gmail.com>
Date: Mon, 20 Oct 2008 09:43:49 +0200
Message-ID: <a9699fd20810200043j4404dc01ja611585872a16f6@mail.gmail.com>
Hi Ollie,

On Mon, Oct 20, 2008 at 9:23 AM, Old?ich Vete?n?k wrote:
> Hello WHATWG,
> What do you think about this:
>
> Q: How would it be possible to integrate captions for images using html?

http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-0.html#the-figure-element

<figure>
<img src="/path/chart.jpg" alt="Amount of pregnant rats in year 2007">
<legend>caption</legend>
</figure>

or eventually just:

<figure>
<img src="/path/chart.jpg">
<legend> Amount of pregnant rats in year 2007</legend>
</figure>

-- 
Thomas Broyer
Received on Monday, 20 October 2008 00:43:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC