[whatwg] Proposal for a link attribute to replace <a href>

Sam Kuper sam.kuper at uclmail.net
Fri Feb 29 08:31:05 PST 2008


On 28/02/2008, Robert O'Rourke <rob at sanchothefat.com> wrote:

> I don't understand why buttons should not be allowed an href, obviously
> when the button or input is to submit a form (ie. explicitly having
> type="submit" as an attribute) it shouldn't be allowed but I'd find it
> useful where I've had to style a collection of links and inputs to be
> similar, for example the steps for a checkout process:


One has to be careful here. You're absolutely right that form submission
buttons need to be treated specially, as otherwise users' web accelerator
software will start checking out their shopping carts, etc.

I'm concerned that in all the exuberance to make more elements links,
various basic problems like this might get overlooked.

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080229/41b85ef6/attachment-0001.htm>


More information about the whatwg mailing list