WEST SIDE CALI KILLERS
(HTML) SUBMIT BUTTON 23104840
WEST SIDE CALI KILLERS
(HTML) SUBMIT BUTTON 23104840
WEST SIDE CALI KILLERS
Would you like to react to this message? Create an account in a few clicks or log in to continue.


HOME OF WSCK CLAN
 
HomeSearchLatest imagesstoreRegisterLog in

Share
 

 (HTML) SUBMIT BUTTON

View previous topic View next topic Go down 
AuthorMessage
Duke Nukem
Moderator
Moderator
Duke Nukem

Country : USA
Posts : 174
Caps : 293
Times Thanked : 6
Browser : Internet Explorer

(HTML) SUBMIT BUTTON Empty
PostSubject: (HTML) SUBMIT BUTTON   (HTML) SUBMIT BUTTON I_icon_minitimeWed Jul 25, 2012 6:25 am

When a visitor clicks a submit button, the form is sent to the address specified in the action setting of the
tag.

Since visitors aren't always perfectionists you might consider adding a javascript validation of the content before it is actually sent.


Below is a listing of valid settings for submit buttons:

HTML

submit
name=
value=
align=
tabindex=

EXPLANATION

Submit button
Name of the button.
Text written on the button.
Alignment of the button.
Tab order of the button.


The name setting adds an internal name to the button so the program that handles the form doesn't confuse the button with the other fields.

The value setting defines what is written on the button.

The align setting defines how the button is aligned.
Valid entries are: TOP, MIDDLE, BOTTOM, RIGHT, LEFT, TEXTTOP, BASELINE, ABSMIDDLE, ABSBOTTOM.
The alignments are explained in the image section.
You can learn about the different alignments here.

The tabindex setting defines in which order the different fields should be activated when the visitor clicks the tab key.


Look at this HTML example:

Code:
<html>
<head>
<title>My Page</title>
</head>
<body>
<form name="myform" action="http://www.mydomain.com/myformhandler.cgi" method="POST">
<div align="center">
<br><br>
<input type="text" size="25" value="Enter your name here!">
<br><input type="submit" value="Send me your name!"><br>
</div>
</form>
</body>
</html>
Back to top Go down
 

(HTML) SUBMIT BUTTON

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» (HTML) DROP DOWN MENU
» HTML Table Tags
» (HTML) Basic Tags

Permissions in this forum:You cannot reply to topics in this forum
WEST SIDE CALI KILLERS :: Computer Related :: Coding :: HTML-