HTML Element and type | Example |
---|---|
input type="text" |
<label for="t1">Your First Name</label> |
input type="password" |
<label for="t2">Your Passnumber</label><br /> |
input type="button" |
<input type="button" name="cmdChkAvail" value="Check Availability" /> |
input type="submit" |
<input type="submit" name="cmdBookNow" value="Place Booking" /> |
input type="image" |
<input type="image" name="search" src="../source/ButtonGo.gif" alt="Go"
value="search" /> |
input type="radio" |
<input type="radio" id="t3" name="radMarried" value="Yes" /> <label
for="t3"> Yes, I am married</label><br /> |
input type="checkbox" |
<input type="checkbox" id="t5" name="chkSubscribe"
value="Subscribe" /> <label for="t5">Subscribe to the newsletter</label>
|
select |
|
textarea |
<label for="t7">Your comments</label><br /> |
button |
<button name="cmdBigButton">Go on, click me!</button> |