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"
<html xmlns= lang="en" xml:lang="en">
<title>Predict the Result</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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>
<br />
<input type="submit" />
<p><a href="index.htm">Home</a>
<a href="services.htm">Services</a>
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"
<html xmlns="" lang="en" xml:lang="en">
Search WWH ::

Custom Search