Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,132   Yesterday: 1,240   Max: 1,872   Total: 364,532   Current Users : 12 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

<BUTTON ...>

Usage Recommendation
use <INPUT ...> instead

  • TYPE: what type of button is this
  • onClick: script to run when the user clicks here
  • NAME: name of this button element
  • VALUE: the value sent with the form
 

<BUTTON ...> creates a button. Unlike <INPUT ...>, <BUTTON ...> is a container which allows you to put regular HTML contents in the button, including text and pictures. Unfortunately, <BUTTON ...> does not degrade well, and so at this time it's best to stick with <INPUT ...>.

this code produces this
<BUTTON TYPE=SUBMIT>
<IMG SRC="../graphics/sfsmile.gif" HEIGHT=97 WIDTH=105 ALT="Starflower"  ALIGN="ABSMIDDLE">
<STRONG>Send It In!</STRONG>
</BUTTON>

By default, <BUTTON ...> creates a plain button, much like <INPUT TYPE=BUTTON>. With the TYPE attribute, <BUTTON ...> can also create submit and reset buttons. The HTML code put between <BUTTON ...> and </BUTTON> is not the value sent with the form. The value of the button determined by the <INPUT VALUE="..."> attribute.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.