89

Is there any way to use a small font size in questions or answers? That is, for the purpose of minor and possibly irrelevant information?

I've checked the Markdown syntax but couldn't find anything. However I feel I've seen it on the site somewhere...

  • 5
    You have editing powers on SO. Check the post where you have seen it ;) Or do what random says. – Ladybug Killer Oct 21 '09 at 13:23
  • 1
    You're right John, but I never think of it when I see it! – Alex Angas Oct 21 '09 at 13:24
87

You can use the <sup></sup> or the <sub></sub> tags for that:

This is sub text, and this is sup text.

35

It'd be nice if this was officially supported. The sup/sub thing is a nasty hack.

IMHO support for the <small> tag would be ideal.

  • 1
    <small> would be the hack here. Both <sup> and <sub> are valid and semantic HTML tags. – random Oct 21 '09 at 15:38
  • 55
    They're valid and semantic tags for writing superscripted or subscripted text. Using them to make text small is not at all semantic. – Kip Oct 21 '09 at 15:50
  • 4
    See Allow the <small> tag. – Arjan Jan 23 '11 at 11:54
  • 2
    i would also agree, that using superscript or subscript for small fonts is defiantly more of a hack, than using the small tag for small fonts :) – hexerei software Jun 27 '15 at 22:54
  • 1
    @Kip <sub> would subscript it. It won't make it aligned correctly... – Honey Sep 12 '16 at 19:01
  • But it's not supported. So how is your answer an answer? Semantically speaking, it's not. At best it is wishful thinking. Don't take the downvote personally. – Mentalist Oct 16 '17 at 17:31
  • @Mentalist because this is meta? – Kip Oct 16 '17 at 17:33
29

Use the traditional <sub></sub> tag (for text to shunt into subscript).

<sub>Thar be monsters under the bed, ma</sub>

Becomes:

Don't turn off the night light please.

Or you could go superscript with <sup></sup>

Open up a floating balloon and suck some helium and your voice goes like this.

  • 7
    That's a heck of a powerful tag, that can change the content of the text it contains. – Michael Petrotta Oct 26 '09 at 2:09
  • That it does, and it is a partly affected semantic hack nonetheless. – random Oct 26 '09 at 2:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .