MMDT1021 Chapter 6 Notes - page 5

Using a Banner

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

  1. Target.
  2. WCCO TV.
  3. MSN.
  4. 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.