<small> Tag Syntax

Rules for coding HTML small elements
<body>
   ...
   ... phrasing content expected ...<small>... phrasing content ...</small>...
   ...
</body>
Rules for coding HTML small elements

Make sure you understand the difference between a tag and element and are familiar with the definitions of namespace and other HTML terms.

  1. Code the small element for smaller text where phrasing content is expected.
  2. Begin the small element with a starting <small> tag. The element name uses lower case letters and should be in the HTML namespace, which it will pick up automatically from the xmlns attribute on the <html> tag.
  3. Include any HTML global attributes on the <small> tag as appropriate.
  4. Inside the small element, between the starting <small> tag and the ending </small> tag, code the inner HTML phrasing content.
  5. End the small element with a matching </small> closing tag.
Content Model
Content of the small element

The content of the small element can include HTML comments, text content and only those HTML tags that can be used in phrasing content.