ObscureTags.com: button tag example

The button tag is the new input type="submit." You can do all kinds of weird stuff within button tags -- create tables, add images, mess with fonts. I guess that's normal stuff... it just seems a little odd to do it within the button markup itself.

Here are some examples:





It would appear that the only thing you can't do within a button tag is:

  1. Another button tag
  2. An a tag
  3. A select tag
  4. An input tag.

In Firefox, everything looks nice and orderly. In IE 6, the rendering looks pretty scary.

main menu

forums

Source:


Comments:

PigFeed
2007-03-25 07:38:52

Interesting....but a little pointless, no?


MiquelFire
2006-12-31 20:46:12

The only issue I had was with cross browser support in server side scripts. Buttons act as hidden elements in IE, while they'll act like submit buttons in Firefox (in terms of if the server side script gets values or not)


Add your comments here
Name:
URL:
MSG:
1000 Characters max. HTML will be entitized. We record your IP.
The number of the beast =