HTML small Tag - HTML Tutorial

HTML small Tag

BLUF: Mastering HTML small Tag is a fundamental step in becoming a web developer. This guide covers the structure, syntax, and best practices for using this HTML element effectively.
Key Lesson: HTML small Tag

Web structure starts with solid HTML. Learn how HTML small Tag contributes to accessible and semantic web pages in the tutorial below.

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, the <small> element is utilized to designate content of lesser significance like copyright information, side notes, and legal disclaimers.

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

Example

<small>Write your content here...... <small>

Below are details regarding the HTML <small> element:

Display Inline
Start tag/End tag Both Start and End tag
Usage textual

Example

Example

<!DOCTYPE html>

<html>

<head>

<title>HTML small tag</title>

</head>

<body>

 <h2>Example of small tag</h2>

 <p style="color: green;">This is normal font size.....

   <small style="color: blue;">It is smaller than previous...

       <small style="color: red;">It is smallest.</small>

   </small>

 </p>

</body>

</html>

Output:

Attribute:

Tag-specific attributes:

The <small> tag does not have any particular attribute associated with it.

Global attribute:

The <small> tag facilitates the implementation of Global attributes within HTML.

Event attribute:

The <small> tag enables the utilization of Event attributes within HTML.

Supporting Browsers

Element Chrome IE Firefox Opera Safari
<small> Yes Yes Yes Yes Yes

Input Required

This code uses input(). Please provide values below:

Logic Practice
Install Logic Practice
Add to home screen for a faster app-like experience