- From: Derek Gray <dgray90@live.com>
- Date: Wed, 29 Jul 2015 16:09:48 -0500
- 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