82
HTML <small> tag
HTML <small> tag makes text font by one size smaller than the document?s base font size (Such as large to medium, medium to small, etc.)
In HTML5, <small> tag is used for identifying secondary importance such as copyright, side comments, and legal notices.
Tips: The <small> tag can be nested which means we can use <small> tag inside one another for multiple times, and it will continue to decrease the font size than its surrounding text.
Syntax
Following are some specifications about the HTML <small> tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | textual |
Example
Output:
Attribute:
Tag-specific attributes:
The <small> tag does not contain any specific attribute.
Global attribute:
The <small> tag supports the Global attributes in HTML.
Event attribute:
The <small> tag supports the Event attributes in HTML.
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<small> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML source Tag