W3C home > Mailing lists > Public > public-html@w3.org > July 2015

HTML5: 'type' and 'formtype' attributes for forms and submit buttons

From: Derek Gray <dgray90@live.com>
Date: Wed, 29 Jul 2015 16:09:48 -0500
Message-ID: <COL125-W1222F9F1B6998F4A088D45C38C0@phx.gbl>
To: "public-html@w3.org" <public-html@w3.org>
The 'type' attribute for the 'a' element is defined in order to provide advisory information about the MIME type of the linked resource. This can be useful when scripting enhancements to a document, such as an enhancement that intercepts the 'click' event of the link and uses the value of the 'type' attribute to set up an appropriate 'Accept' header when sending an XMLHttpRequest for the linked resource.

Is there some reason this attribute (and a 'form'-prefixed cousin) is not also present for the other navigation-related elements of HTML -- the 'form', 'button type="submit"', 'input type="submit", and 'input type="image"' elements? 		 	   		  
Received on Wednesday, 29 July 2015 21:10:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:44 UTC