HTML and CSS Reference
In-Depth Information
Introduce Standard Field Names
Rewrite your forms and form processing scripts to use conventional names for conventional things such as e-
mail addresses, credit card numbers, phone numbers, and so forth.
Code View:
<form action="/register" method="post">
<label><input type="radio" name="n1" value="m" /> Mr.</label>
<label><input type="radio" name="n2" value="f" /> Ms.</label>
<p><label>First Name:
<input type="text" name="n3" />
<p><label>Last Name:
<input type="text" name="n4" />
<p><label>E-Mail Address:
<input type="text" name="e1" />
<input type="password" name="p1" />
<p><label>Address Line 1:
<input type="text" name="a1" />
<p><label>Address Line 2:
<input type="text" name="a2" />
<input type="text" name="a3" />
<input type="text" name="a4" />
<p><label>ZIP/Postal Code:
<input type="text" name="a5" /></label></p>
<input type="text" name="t1" />
<input type="text" name="t2" />
<input type="submit" title="Register" />
Search WWH ::

Custom Search