Quote:
The New <BUTTON> Tag
Until now, you had two options for building Form Buttons. You could use text or an image, or you could get fancy with CSS. But here is a new Tag that makes coding online forms both more fun and functional.
OLD WAY: <INPUT TYPE="button" VALUE="Button Text">
The new button command makes creating buttons easy. The following code does exactly what the previous code does:
<BUTTON>Button Text</BUTTON> Button Text
This code makes a button with bigger text in Arial font, if it's on your computer:
<BUTTON><FONT FACE="Arial"><BIG>Big text</BIG></FONT></BUTTON> Big text
<BUTTON><FONT FACE="Arial" SIZE="5"><B>Bigger<BR>Bolder Text</B></FONT></BUTTON> Bigger
Bold Text
Now we have coloured text:
<BUTTON><FONT COLOR="#ff0000"><B>Look, colors!<BR>And line breaks!</B></FONT></BUTTON> Look, colors!
And line breaks!
How about an image? Yes, an image inside a button!
<BUTTON><IMG SRC="image.gif"></BUTTON>
Now we have a table, and image and some Arial text!:
<BUTTON>
<TABLE BORDER="1">
<TR>
<TD align="center"><IMG SRC="image.gif"></TD>
</TR><TR>
<TD><FONT FACE="Arial">Get IE6!</FONT></TD>
</TR>
</TABLE>
</BUTTON>
Get IE6!
NOTE: You cannot include the following elements inside a <BUTTON>:
Another <BUTTON> tag
<SELECT> tag
<INPUT> tag
<A> tag
Other than that, it is pretty versatile!
|
Taken From Bravenet Service...
<button>text</button>
what the heck is this? HTML 6.0
