These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:06 pm Advanced search

image/table captioning, citations and footnotes support

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

image/table captioning, citations and footnotes support

Postby lisum » Mon Jan 19, 2009 5:42 pm

I would appreciate support of these features.

I think captions are very common things what content administrators, copywriters have to do.

It should be easy to use, someting like

<img src="pic.gif" caption="supply chart in 2009">
or
<img src="pic.gif">
<caption="supply chart in 2009">
</img>


and thanks to css, you should be able to get automatically numbered captions of images or tables and of course be able to style this atribut/tag (place under/above of the image, font size, align etc). And get automatically generated Table listing all images or tables.

And footnote is another feature what I miss. Something like

<p>Lorem ipsum dolor <f>sit amet<f>, consectetur adipiscing elit...</p>


and under the line on the bottom of page

<ol>
<fn>This term means...</fn>
</ol>

counting, styling, as well.
lisum
<h6>
 
Posts: 1
Joined: Mon Jan 19, 2009 5:14 pm
Location: Prague, Czech Republic

Postby lyosha » Wed Jan 21, 2009 1:14 am

Re image caption: There already exists figure/legend. Example:
Code: Select all
<figure>
  <legend>Supply chart in 2009</legend>
  <img src="pic.gif" />
</figure>
lyosha
<h3>
 
Posts: 60
Joined: Fri Aug 22, 2008 9:26 pm

A Legend is not a Caption.

Postby eulerpath » Sat Sep 26, 2009 7:12 pm

A Legend is not a Caption. I agree with the first poster that an element to indicate a figure's caption is a must. It looks like the current HTML 5 specification indicates that the <dt> element used inside the context of a <figure> indicates the figure's caption. I would have preferred <caption> as it is more explicit, but at least the spec provides the <dt> tag for this purpose.
eulerpath
<h6>
 
Posts: 1
Joined: Sat Sep 26, 2009 6:53 pm


Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest