Previous Slide


Getting Physical...

Next Slide

THE FONT TAG LETS YOU CONTROL THE SIZE AND COLOR OF TEXT USING "SIZE" AND "COLOR" ATTRIBUTES.

THE SIZE ATTRIBUTE CAN BE ABSOLUTE OR RELATIVE:

< FONT SIZE=1 > Tiny < /FONT > ==> Tiny
< FONT SIZE="+1" > Not tiny < /FONT > ==> Not tiny
< FONT SIZE="-7" > Tiny < /FONT > ==> Tiny

THE COLOR ATTRIBUTE USES HEXADECIMAL CODES OR COLOR NAMES:

< FONT COLOR="FF0000" > RED < /FONT > ==> RED
< FONT COLOR="TEAL" > BLUE? < /FONT > ==> BLUE?



The Web:
Technologies and
Techniques


Links to other course pages:


Williams College
Department of Computer Science
This page is part of a section of lecture slides related to " TEXT " within the topic "HTML II". Other slides within this section and other sections of slides for the topic "HTML II" can be accessed using the links below.
  • TEXT
  • Text Style Tags
  • Getting Physical...
  • Text That Isn't Text
  • List Tags
  • List Elements
  • Ordered and Unordered Lists
  • Ordered and Unordered Lists (cont.)
  • Definition Lists
  • HTML tables
  • Tables
  • Table Borders and Headers
  • Table Cell Spacing
  • Table Cell Padding
  • Irregular Table Cells
  • Table Cell Alignment
  • Table Width and Height Attributes