Slide 1
Slide 2
Slide 3

big Vs small tag in HTML5 (HTML-V32)

No Comments

5. <big> vs <small> tag

Any text placed between the <big>...</big> tags is displayed one font size larger than the surrounding text.

Any text placed between the <small>...</small> tags is displayed one font size smaller than the surrounding text.

Source Code:

Copied!
<!DOCTYPE html>
<html>
<head>
    <title>Big and Small Example</title>
</head>
<body>
    <p>This is normal text.</p>
    <p>This is <big>big text</big> using the &lt;big&gt; tag.</p>
    <p>This is <small>small text</small> using the &lt;small&gt; tag.</p>
    <p>Mixing <small>small</small> and <big>big</big> in one sentence.</p>
</body>
</html>

Result: 

Watch the video:


Ebook:
https://softkhpc.blogspot.com/2026/11/html-tutorial-beginners.html

back to top