Quote:
Originally Posted by roger64
2. When possible, use special characters such as SUPERSCRIPT TWO (\00b2)
|
No. Never use these.
See my responses in the 2016 thread:
"font with full super/under script support?"
Quote:
Originally Posted by roger64
1. Trust the user agent? (with a "naked" sup tag)
|
Depends. What's your use case?
If it's Footnotes, then it's better to use the basic bracketed form [##] instead:
Code:
<p>This is an example.<a href="#fn1" id="ft1">[1]</a></p>
[...]
<p class="footnote"><a href="#ft1" id="fn1">[1]</a> This is the footnote.</p>
Easier to click, easier to read.
If the <sup> is for something else, then it's probably best to use it, because you still want your HTML markup to actually be meaningful.
And remember: Users can override CSS (like Moon+) + read in different ways (devices/sites without your book's CSS).
See some of that discussion in
"Colored Text, EPUB, Android Dark Mode".