Chapter 5

Introduction to XHTML: Part 2

Objectives:

Notes

5.5 What will the frameset produced by the following code look like?

  <frameset rows = "20%,*">
    <frame src = "hello.html" name = "hello" />
	  <frameset cols = "150,*">
	    <frame src = "nav.html" name = "nav" />
		<frame src = "deitel.html" name = "deitel" />
	  </frameset>
  </frameset>
Answer

5.6 Write the XHTML markup to create a frame with a table of contents on the left side of the window, and have each entry in the table of contents use internal linking to scroll down the document frame to the appropriate subsection.
Answer

5.7 Create XHTML markup that produces the table shown in Fig. 5.12. Use <em> and <strong> tags as necessary.
Answer

5.8 Write an XHTML document that produces the table shown in Fig. 5.13.
Answer

5.9 A local university has asked you to create an XHTML document that allows potential students to provide feedback about their campus visit. Your XHTML document should contain a form with text boxes for a name, address and e-mail. Provide check boxes that allow prospective students to indicate what they liked most about the campus.These check boxes should include: students, location, campus, atmosphere, dorm rooms and sports. Also, provide radio buttons that ask the prospective student how they became interested in the university. Options should include: friends, television, Internet and other. In addition, provide a text area for additional comments, a submit button and a reset button.
Answer

5.10 Create an XHTML document titled "How to Get Good Grades." Use <meta> tags to include a series of keywords that describe your document.
Answer

5.11 Create an XHTML document that displays a tic-tac-toe table with player X winning. Use <h2> to mark up both Xs and Os. Center the letters in each cell horizontally. Title the game using an <h1> tag. This title should span all columns. Set the table border to one.
Answer