Breaking

Sunday, May 12, 2019

HTML small Tag

Example

Define a smaller text:
<p>W3Schools.com - the world's largest web development site.</p>
<p><small>Copyright 1999-2050 by Refsnes Data</small></p>
Try it Yourself »

Definition and Usage

The <small> tag defines smaller text (and other side comments).

Browser Support

Element
<small>YesYesYesYesYes

Differences Between HTML 4.01 and HTML5

NONE.

Global Attributes

The <small> tag also supports the Global Attributes in HTML.

Event Attributes

The <small> tag also supports the Event Attributes in HTML.

Related Pages

HTML tutorial: HTML Text Formatting
HTML DOM reference: Small Object

Default CSS Settings

Most browsers will display the <small> element with the following default values:

Example

small { 
  font-size: smaller;
}
Try it Yourself »

No comments:

Post a Comment