These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:03 pm Advanced search

new tag <submit></submit>

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

new tag <submit></submit>

Postby sickness2snipe » Sat Nov 12, 2011 1:12 pm

what about a replacement for <input type="submit" />
and change it to
<submit></submit>
so that it would be easier for people to use images instead of the standard button.
example:

<submit><img src="myImage.png" /></submit>

because if the web is evolving we are going to find new and greater ways to outgrow built in things like the standard html buttons.
sickness2snipe
<h6>
 
Posts: 1
Joined: Sat Nov 12, 2011 1:06 pm

Re: new tag <submit></submit>

Postby SelenIT » Fri Sep 07, 2012 12:11 pm

There is already the <button></button> element with exactly this functionality. It has been there since HTML4, and is supported by all browsers (although it is buggy in IE7 and lower).
SelenIT
<h6>
 
Posts: 1
Joined: Fri Sep 07, 2012 12:06 pm


Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest