Complete Technology Solutions, Web Design, Management, Maintenance   
   
 

 Complete Technology Solutions
  - SMALL - Small Font


      FAQ - Contact Us

Syntax <SMALL>...</SMALL>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements except PRE

The SMALL element suggests that text be rendered in a smaller font. Since HTML 4.0 has no element to indicate de-emphasis, SMALL is often useful for this purpose. For example:

<P><SMALL>Copyright © 1998 InfiniteSurf.com. All rights reserved.</SMALL></P>

Most browsers support nested SMALL elements, but this practice should be avoided. Since different users have different font sizes and eyesight, significant changes in font size can leave text too small to read even though it may look fine to the author.

Using style sheets in place of SMALL provides greater flexibility in changing the presentation. The previous example could also be marked up as follows:

<P CLASS=copyright>Copyright © 1998 InfiniteSurf.com. All rights reserved.</P>

This could then be linked to the following style sheet:

.copyright {
  font-size: smaller;
  text-align: center
}

@media aural {
  .copyright { volume: soft }
}

Back to the Top

-- More Information --

Click Here for InfiniteSurf.com Homepage