1. Consider the following code for a text box in a Web form:
<input type="text" name="UserName"/>
Which modified tag should you use if you want the text box to appear with de-
fault text that reads "Enter Name Here"?: <input type="text" name="UserName"
value="Enter Name Here"/>
2. As you develop Web documents, which of the following should you always
keep in mind to ensure your pages will render properly in user agents?: Adopt
a single W3C standard and apply it consistently throughout your document.
3. Consider the following HTML code:
<tr>
<td>Bill Gates</td>
Also consider the corresponding CSS document code:
tr
{
vertical-align:top;
}
What does this code indicate about the text "Bill Gates?": The text "Bill Gates"
is vertically aligned to the top of the cell.
4. In the HTML5 standard, what is the recommended way to center a para-
graph of text?: Use an inline CSS style attribute in the paragraph tag.
5. End users have complained that when they click a link on your company's
Web site, the wrong client loads. You review the page with the suspect link
and find the following HTML code:
To begin an FTP session, click the following link:
<a href="http://ftp.habitat.org"> FTP Session </a>
What is the problem?: A Web server has been specified.
1/4