<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lesson 10-Creating Forms</title>
</head>
<body>
<h1>Creating Forms</h1>
<form method="POST" action="form.aspx">
<p>
<label>Customer name: <input type="text" id="customerName" name="customerName" value="hello boy"
maxLength="10" >
</label>
</p>
<fieldset>
<legend>Pizza Size</legend>
<p><label><input type="radio" name="size" value="small">Small (10 inch)
</label></p>
<p><label><input type="radio" name="size" value="small" checked>Medium (12 inch)
</label></p>
<p><label><input type="radio" name="size" value="small">Large (14 inch)
</label></p>
</fieldset>
<fieldset>
<legend> Pizza Toppings </legend>
<p><label> <input type="checkbox" name="toppings" value="bacon"> Bacon
</label></p>
<p><label> <input type="checkbox" name="toppings" value="cheese"> Extra Cheese
</label></p>
<p><label> <input type="checkbox" name="toppings" value="onion"> Onion
</label></p>
<p> Crust
<select name="crust " >
<option value="c1" selected>Normal</option>
<option value="c2">Chicago Deep Dish (+$2)</option>
</select>
<p><label>Delivery Instruction:
<textarea name="comments" cols="50" rows="5" maxlength="1000">How do we get to your house?
</textarea>
</label>
</p>
</form>
</body>
</html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lesson 10-Creating Forms</title>
</head>
<body>
<h1>Creating Forms</h1>
<form method="POST" action="form.aspx">
<p>
<label>Customer name: <input type="text" id="customerName" name="customerName" value="hello boy"
maxLength="10" >
</label>
</p>
<fieldset>
<legend>Pizza Size</legend>
<p><label><input type="radio" name="size" value="small">Small (10 inch)
</label></p>
<p><label><input type="radio" name="size" value="small" checked>Medium (12 inch)
</label></p>
<p><label><input type="radio" name="size" value="small">Large (14 inch)
</label></p>
</fieldset>
<fieldset>
<legend> Pizza Toppings </legend>
<p><label> <input type="checkbox" name="toppings" value="bacon"> Bacon
</label></p>
<p><label> <input type="checkbox" name="toppings" value="cheese"> Extra Cheese
</label></p>
<p><label> <input type="checkbox" name="toppings" value="onion"> Onion
</label></p>
<p> Crust
<select name="crust " >
<option value="c1" selected>Normal</option>
<option value="c2">Chicago Deep Dish (+$2)</option>
</select>
<p><label>Delivery Instruction:
<textarea name="comments" cols="50" rows="5" maxlength="1000">How do we get to your house?
</textarea>
</label>
</p>
</form>
</body>
</html>
2146

被折叠的 条评论
为什么被折叠?



