Hands-On Exercises^387
<title>Fill in the Missing Code</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>Vote for your favorite Search Engine</h1>
<form method="_" action="_">
<input type="radio" name="_" id="Ysurvey" value="Yahoo" />
Yahoo!<br />
<input type="radio" name="survey" id="Gsurvey" value="Google" />
Google<br />
<input type="radio" name="_" id="Asurvey" value="AltaVista" />
Alta Vista<br />
<_>
</form>
</body>
</html>
- Find the Error.Find the coding errors in the following subscription form:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Find the Error
E-mail:
Hands-On Exercises
1.Write the XHTML to create a text box named username that will be used to accept
the user name of Web page visitors. The text box should allow a maximum of 30
characters to be entered.
2.Write the XHTML to create a group of radio buttons that Web site visitors can
check to vote for their favorite day of the week.
3.Write the XHTML to create a select list that asks Web site visitors to select their
favorite social networking Web site.
4.Write the XHTML to create a fieldset and legend with the text “Shipping Address”
around the following form controls: AddressLine1, AddressLine2, City, State, ZIP.