W3C home > Mailing lists > Public > www-html@w3.org > April 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:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC