MMDT1021 Chapter 5 Notes - page 11

Using a Banner

A banner is simply an image or group of images and links at the top of each page that helps to bring the individual pages together visually.

  1. Best Buy
  2. WCCO
  3. Walmart
  4. MSN
  5. Barnes and Noble

 

Adding Horizontal Rules

Standard horizontal rule
Code Result
Text before horizontal rule. <hr /> Text after horizontal rule. Text before horizontal rule.

Text after horizontal rule.

Specifying the width of a horizontal rule.
Code Result
Text before horizontal rule.
<hr width = "50%" />Text after horizontal rule.
Text before horizontal rule.

Text after horizontal rule.

The default position of a horizontal rule is centered.
You need to specify align="left" to move the rule to the left margin.
Code Result
Text before horizontal rule.
<hr width = "50%" align="left" />Text after horizontal rule.
Text before horizontal rule.

Text after horizontal rule.

Specify the size (height) of a horizontal rule.
Code Result
Text before horizontal rule.
<hr width = "50%" align="center" size="10" />
Text after horizontal rule.
Text before horizontal rule.

Text after horizontal rule.