Re: [XHTML2] Suggestion: generalize CAPTION element

On Tue, Feb 04, 2003 at 04:53:18PM +0100, Bert Bos wrote:
| So I'm asking that XHTML not only generalizes the SRC attribute, but
| also the CAPTION element:
| 
|     <p src="diagram.svg">
|       <caption>Diagram of the main relations.</caption>
|       <!-- text alternative: -->
|       The root node has several child nodes, which interconnect.
|     </p>

An alternative method would be to use a caption attribute for embedded 
objects:

<object src="duck.png" caption="duckcaption">
  [A picture of a duck]
</object>
<p id="duckcaption">
  A duck from the village pond.
</p>

-- 
Toby A Inkster BSc (Hons) ARCS
E-mail:   tobyink@goddamn.co.uk
PGP:      http://www.goddamn.co.uk/tobyink/?id=12
Web Page: http://www.goddamn.co.uk/tobyink/
IM:       AIM:inka80 ICQ:6622880 YIM:tobyink Jabber:tobyink@a-message.de

My uncle Murray conquered Egypt in 53 B.C.  And I can prove it too!!

Received on Tuesday, 4 February 2003 16:12:41 UTC