How to set smaller text using HTML? (original) (raw)

Last Updated : 2 Jul, 2024

To create smaller text in HTML5, use the tag. This element is designed specifically to reduce font size, providing a straightforward method to display text in a smaller font within web documents.

**Syntax:

Content...

**Example: The following is the explanation of how to set smaller text using HTML5.

html `

How to set smaller text using HTML5 ?
<style>
    body {
        text-align: center;
    }

    h1 {
        color: green;
    }
</style>

HTML5: How to define smaller text?

<small>
    Welcome to GeeksforGeeks!
</small>

`

**Output:

zaz

Output

**Supported Browsers