[whatwg] Image captions

Hello WHATWG,
What do you think about this:

Q: How would it be possible to integrate captions for images using html?

A: 1. Using something similar to <caption> element. Extra markup needed  
though.
    2. Using an attribute to display it: <img src="/path/chart.jpg"  
alt="Amount of pregnant rats in year 2007" caption="caption" />.
       This would show the caption below the image by default (visual style  
and position done by css), its source would be the alt attribute (to avoid  
duplicate content). I don't know if that's possible though.

If there have been made any researches or suggestions already, please let  
me know, thank you.

- Ollie

Received on Monday, 20 October 2008 00:23:20 UTC