7

I remember seeing some questions and answers in which some text was written in small fonts, but, I haven't found a matching tag in the whitelisted HTML tags. How did they do this?

5

I expect either the <sup> or <sub> tags, or a combination of both.

You know, like this?

Or this?

Or even, this.

<sup>You know, like this?</sup>

<sub>Or this?</sub>

<sup><sub>Or even, this.</sub></sup>
| improve this answer | |
  • I find that <sub><sup> is better vertically aligned than <sup><sub> – Dan Chaltiel Jul 2 at 10:15
1

This was just a miracle and you didn't actually see any small fonts, forget and relax :)

In other words, place your text in <sub></sub> or <sup></sup> tags. The first one is subscript, the second is superscript - but they are abused to make small text :D

You can also use multiple <sub>s or <sup>s, or combine them, that's what I've done in my example and the markdown is:

<sub>This was just a miracle</sub> <sub><sub>and you didn't actually see any small fonts, <sup><sup>forget and relax :)</sup> </sub></sub></sub>

And to let you understand the hierarchy :

<sub>
    This was just a miracle
</sub>
<sub>
    <sub>
        and you didn't actually see any small fonts,
        <sup>
            <sup>
                forget and relax :)
            </sup>
        </sup>
    </sub>
</sub>
| improve this answer | |

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