HTML, Page 6

Images

Introductory information about images can be found in Chapter 10 and covers different image types and formats, terminology and how to create a banner in Corel.
 

The simplest image...Horizontal Rule...can appear as is <HR> or have the following attributes.  HR is an open tag and does not require a closing tag.

  • SIZE=n will set the height or thickness of the rule, or bar, where n is the number of pixels high it is intended to be.
  • WIDTH=w changes the width of the rule.  Normally it will span the entire width of the screen.  Measured in pixels or a percentage of the width of the screen.
  • ALIGN=direction places the rule on either the left, right, or center of the screen.
  • NOSHADE creates a solid bar with no shading.
  • Examples:
    <HR>


    <HR SIZE=10 ALIGN="LEFT">


    <HR WIDTH="75%" ALIGN="CENTER" NOSHADE>


    Want an actual image?

    The IMG tag in HTML has 8 common attributes (remember, attributes are inside the opening IMG tag):

    Let's give it a try:  Assignment #10
     


    HTML Goodies ~ WebMonkey
    Previous page ~ Web ~ Telecom ~ Next page