Line Breaks, Horizontal Rules, and Links

Download this project with source code samples

Objectives

  • Add comments and horizontal rules to a web page.
  • Use comments effectively in a web page.
  • Link to other web pages.
  • Use the target attribute to open web pages in a new browser window.

Instructions

  1. Open the XHTML document you created in Headings, Paragraphs, and Lists.
  2. Add two line breaks at the end of each paragraph. The line breaks should be after the text but with the <p></p> tags. On a new line, make a link to another web page where the user can find more information on what you wrote about.
  3. At least one of the links should open in a new window.
  4. Add a horizontal rule after each paragraph. The width should be something less than 100%.
  5. Add comments into your XHTML document to summarize each paragraph.

Screenshot

Headings, Paragraphs, and Lists

Source code is available when you purchase the curriculum.

Rubric

Component Possible Points Score
Everything from Project 2 is included in the document. 3
A link for more information follows the first paragraph. 3
A link for more information follows the second paragraph. 3
A link for more information follows the third paragraph. 3
One of the links opens in a new window. 3
Line breaks separate the paragraphs from the links. 3
Horizontal rules with specified widths separate the paragraphs. 3
Comments are used effectively in the XHTML document to summarize each paragraph. 3
The project was submitted on time (20% off for each day late)
Total Score 24

Download this project with source code samples