Visit Mozilla.org

HTML:Element:small

From MDC

Contents

[edit] HTML Small Element

<small>...</small> - The HTML Small element makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size.

[edit] Example 1

   <p>
       This is the first sentence.  <small>This whole 
       sentence is in small letters.</small>
   </p>

[edit] Result

This is the first sentence. This whole sentence is in small letters.

[edit] Example 2 (CSS alternative)

   <p>
       This is the first sentence.  <span style="font-size:0.8em">This whole 
       sentence is in small letters.</span>
   </p>

[edit] Result

This is the first sentence. This whole sentence is in small letters.

[edit] Notes

Although this element was not deprecated in the HTML 4.01 specification, its use is discouraged in favor of style sheets.

[edit] See also


HTML Elements
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
(Quick Links: HTML Element Cross Reference, HTML Category)