HTML and CSS Reference
In-Depth Information
<option value=”19_25”>19 - 25</option>
<option value=”26_40”>26 - 40</option>
<option value=”40 - 60”>40 - 60</option>
<option value=”61_100”>61 - 100</option>
<option value=”Over_100”>Over 100</option>
</select>
</p>
5.
Press Enter (Return) to create a new line and enter the following code:
<p>What other planets have you visited?<br>
<label>
<input type=”checkbox” name=”planets” value=”venus” id=”planets_0”>
Venus</label>
<label>
<input type=”checkbox” name=”planets” value=”mars” id=”planets_1”>
Mars</label>
<label>
<input type=”checkbox” name=”planets” value=”jupiter” id=”planets_2”>
Jupiter</label>
<label>
<input type=”checkbox” name=”planets” value=”neptune” id=”planets_3”>
Neptune</label>
</p>
6.
Save your file.
7.
In your browser, open tpa_saturn.html to view the select list, as shown in Figure 19-8.
FiGure 19-8
Search WWH ::




Custom Search