Legal Real estate Insurance Website Hosting Travel Agents Internet & Phone Casino Sports Book Templates Expat Food Items Domain Names
Submit Engine Send e-Cards Shopping Mall Travel Guide Missing Persons Free Web Based E-mail Search The Web Webmaster Tools Dating Service Blog read now Play Flash Games
Free E-books Free Legal Forms Reference Programs Scripts Affilliate Videos Free Adsense Templates Erotic phone Java games
Send SMS to USA FAQ's & Advice Expat Profile Consumer Protection Testimonials Pattaya's WeatherThai Food Recipes Free Articles Free Magazines
Pattaya City Thailand, legal, real-estate and discount international telephone services

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">

I have shown CSS styling examples below because the <font> tag is on it's way out.


The new button command makes creating buttons easy. The following code does exactly what the previous code does:
<BUTTON>Button Text</BUTTON>
This code makes a button with bigger text in Arial font, if it's on your computer:
<BUTTON><span style="font-face: Arial; font-size: 14pt"> Big text </span></BUTTON>
<BUTTON><span style="font-face: Roman; font-size: 18pt"><B>Bigger<BR>Bolder Text</B></span></BUTTON>
Now we have coloured text:
<BUTTON><span style="color: #ff0000"><B>Look, colours!<BR>And line breaks!</B></span></BUTTON>
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><span style="font-face:Arial">Get IE6!</span></TD>
</TR>
</TABLE>
</BUTTON>

 

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!

 

Pattaya City Thailand, webmaster resources, the new button command

pattaya city thailand.com - web master resources, the new button command



Google