" " . HTML , , , - .
, , - . , , (), . " ", , JavaScript Visual Basic Script.
<FORM>, .
action="url" URL, . , , .
method="" - . "" . get, , URL, post URL. post .
name="" . , JavaScript Visual Basic Script, , .
enctype="" . enctype="text/plain".
:
, ndex, :
<form name="web" method="get" action="/yandsearch">
, E-mail, :
<form action="mailto:[email protected]?subject=Internet-Test"
method="post" enctype="text/plain" name="Q" onSubmit="return Validate()">
Q, action E-mail [email protected] "Internet-Test", enctype , onSubmit Validate(), Javascript. .
<form> . :
<textarea name="" cols=" " rows=" " wrap="">...</textarea>
. cols rows , wrap . off (), virtual ( , ) physical ( , ). name . , <textarea>, .
|
|
<select name="" size="" multiple>...</select> . size size="1", , , . multiple, , . , , Ctrl.
<select> , - <option>,
<option value="" selected></option>
value , , selected , . <option> , .
<input>, <textarea> <select>, , , , , , .
<input type="text" name="" maxlength=" " size=" " value="">
. maxlength , size . value .
( , , ) , type="text" type="password". - .
<input type="checkbox" name="" value="" checked>
. value , , checked, , .
<input type="radio" name="" value="" checked>
. , name. value checked , .
<input type="reset" value="">
. value . , .
<input type="submit" value="">
-. value .
reset submit button. , . , , <INPUT TYPE="button" VALUE="" onClick="Look()"> "", Look(), JavaScript.
|
|
:
: : ? ? :
HTML-:
<form method="post" action="mailto:[email protected]?subject=Information">
<pre> : <input name="name" type="text" maxlength="40" size="40" value="">
: <input type="radio" name="pol" value="male">
<input type="radio" name="pol" value="female">
? <select name="curs" size="1">
<option value="1" selected></option>
<option value="2"></option>
<option value="3"></option>
<option value="4"></option>
<option value="5"></option>
</select>
?
<input type="checkbox" name="pascal" value="yes" checked>
<input type="checkbox" name="c" value="yes">
<input type="checkbox" name="asm" value="yes">
:</pre>
<textarea name="about" rows="6" cols="60" wrap="off"></textarea>
<p><input type="submit" value=" ">
<input type="reset" value=" ">
</form>
, "Information". , -. , , name=value, , curs=1. , Windows .
, <pre>, , <pre>, HTML , , .
"".
HTML, . .
, ( "" ), ( , ), .
- . , - / . .
.