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

[XHTML2] type attribute

From: Ernest Cline <ernestcline@mindspring.com>
Date: Fri, 04 Apr 2003 12:54:33 -0500
To: www-html@w3.org
CC: www-html-editor@w3.org
Message-ID: <3E8D8089.16592.385D20@localhost>

There is currently a clash over the two uses of the type attribute. For 
example, if <span src="alpha" href="beta" type="image/*" /> was in a 
XHTML2 document, would "image/*" the type of the src URI, the href URI 
or both? The ambiguity could be resolved by using two seperate nested 
elements, but that would be wasteful.  Also, there is currently no 
mechanism for specifying the media type of the cite attribute. May I 
suggest that instead of a generic type attibute, that there be 
attributes of the form srctype, hreftype and citetype and that if 
additional attributes with a URI for their argument are definined that 
each have an associated type attribute whose name is the name of the 
base attribute + "type"?
Received on Friday, 4 April 2003 12:54:18 GMT

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