Search DaTutorials:  
HOME
Html Tutorials
Basics
Forms
Frames
Hyperlinks and URLS
Images
Lists
Background
Colors
Fonts
Tables
Meta Tags
Events
Javascript Integration
Sound
Other
Search For a Tutorial
Html Reference

SMALL - Small Font

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 Liam Quinn. 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 Liam Quinn. 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 }
}

More Information


Copyright © 1998 Liam Quinn. All rights reserved.

     Handytest | Mortgage Calculator | Secured Loans | MPAA | Auto Loan
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp