Coding Hubs School of AI – Best AI & Full Stack Courses in Delhi NCR | 100% Placement
Limited Offer: Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 8448811540
Back to HTML Notes
Topic #211

Small

The <small> tag represents side comments and fine print — legal disclaimers, copyright notices, license terms — not a generic "make this text smaller" tool.

Syntax

<small>fine print text</small>

Basic Example

<footer>
    <p><small>&copy; 2026 CodingNow. All rights reserved.</small></p>
</footer>

Browser output: the copyright line renders in a smaller font size than surrounding text — again, the size is secondary; the meaning is "this is a side comment, not primary content."

How It Works

The browser applies a smaller default font-size. Like the other redefined HTML5 text tags, using it correctly depends on the content genuinely being a disclaimer or side note — not just "text I want smaller for visual reasons."

Important Attributes

AttributePurpose
— none —Only universal global attributes apply

Real-World Example

<p>Course fee: ₹45,000 <small>(GST not included; final invoice may vary.)</small></p>

A pricing disclaimer is a textbook <small> use case — a genuinely secondary note attached to a primary statement.

Common Mistakes

  • Using <small> purely to shrink font size on unrelated content — for pure visual sizing, use CSS font-size instead
  • Wrapping an entire long section in <small> instead of just the actual disclaimer sentence

Best Practices

  • Reserve <small> for genuine fine-print or side-comment content, and keep it short
  • Use it inside the relevant <p> or <footer>, not as a page-wide styling wrapper

Accessibility Considerations

Most screen readers don't announce <small> specially by default, but it remains semantically useful for tools (browser extensions, legal-text scrapers, accessibility overlays) that specifically look for disclaimer-style content.

SEO Considerations

No direct ranking effect.

Browser & Modern HTML Notes

HTML5 redefined <small> away from purely presentational "smaller text" toward this side-comment meaning — visually nothing changed, but what it's supposed to be used for did.

Mini Practice

  1. Add a <small> pricing disclaimer under a course price.
  2. Add a <small> copyright line to a page footer.

Related HTML Notes

Want to go beyond the notes?

Join Coding Hubs School of AI's HTML course — live mentorship, real projects, and 100% placement support.

Enroll Now — Free Demo Available
💬 Talk to Advisor
1
WhatsApp

Latest from Our Blog

Insights on AI, Data Science, Full Stack & Career

View All Articles →