W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: [XHTML2] Suggestion: generalize CAPTION element

From: Bert Bos <bert@w3.org>
Date: Thu, 3 Apr 2003 11:53:53 +0200
Message-ID: <16012.1201.504766.17995@lanalana.inria.fr>
To: Masayasu Ishikawa <mimasa@w3.org>
Cc: www-html@w3.org

Masayasu Ishikawa writes:
> [ personal opinion ]
> 
> > Bert Bos:
> > >
> > > It seems to me that associating a caption with an image is such a
> > > fundamental operation, that it should be expressed by semantic
> > > mark-up, rather than by visual proximity (or other purely stylistic
> > > means).
> 
> You mean, not just a child but as the first child?  Do you want it
> mandatory (when 'src' is used), and do you want to allow only one
> caption or multiple captions?  As Christoph pointed out, the ojbect
> element does something like this, although

I had overlooked the fact that OBJECT contained CAPTION, so I retract
my criticism. I thought OBJECT in XHTML2 had the same content model as
in HTML4.

Btw., the description of CAPTION in XHTML2 says CAPTION describes a
TABLE (or at least the CAPTION element of OBJECT links to the CAPTION
element of TABLE), but I assume that is an editorial mistake.

http://www.w3.org/TR/2003/WD-xhtml2-20030131/mod-tables.html#edef_tables_caption

Now that there is at least one way to associate an image with a
caption, the need for captions on other types of images becomes less
clear. It is still an interesting question whether all elements that
have a SRC attribute should also have a CAPTION element and whether
OBJECT should exist at all, but I haven't made up my mind about that.
I think I can do all I wanted to do with the new OBJECT.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Thursday, 3 April 2003 04:53:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT