DEV Community

Cover image for HTML tags | small
Carlos Espada
Carlos Espada

Posted on • Edited on

1

HTML tags | small

It is used to represent separate comments or fine print in a text, such as copyright or legal texts, regardless of its visual style.

Typically it is rendered with a font one point smaller, such as small or x-small.

Although <small>, like <b> and <i>, may appear to bypass the principle of separation between structure and content, all three are valid elements in HTML5. The developer has to decide when to use <small> or when to achieve the same effect with CSS.

  • Type: inline
  • Self-closing: No
  • Semantic value: No

Definition and example | Support

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE