HTML and CSS Reference
In-Depth Information
Apply Your Knowledge
1. Predict the Result. Draw and write a brief description of the Web page that will be
created with the following XHTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns= http://www.w3.org/1999/xhtml lang="en" xml:lang="en">
<head>
<title>Predict the Result</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div align="center">
<h1>Contact Us</h1>
<form action="myscript.php">
<fieldset><legend>Complete the form and a consultant will
contact you</legend>
Email: <input type="text" name="email" id="email" size="40"
/><br />
Please indicate which services you are interested in:<br />
<select name="inquiry" id="inquiry" size="1">
<option value="development">Web Development</option>
<option value="redesign">Web Redesign</option>
<option value="maintain">Web Maintenance</option>
<option value="info">General Information</option>
</select>
<br />
<input type="submit" />
</fieldset>
</form>
<p><a href="index.htm">Home</a>
<a href="services.htm">Services</a>
Contact</p>
</div>
</body>
</html>
2. Fill in the Missing Code. This Web page configures a survey form to collect infor-
mation on the favorite search engine used by Web page visitors. The form action
should submit the form to the server-side script, called survey.php. Some XHTML
tags and their attributes, indicated by <_> , are missing. Some XHTML attribute
values, indicated by "_" , are missing.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
 
Search WWH ::




Custom Search