admin管理员组文章数量:1289832
I'm not even sure what the term for this is, so I'm going to use an example. If I write 1st or 2nd then often the st and nd are small and at the top of the line, not at the bottom of the line.
How do I code this?
Specifically looking for how to code it in sigil, which doesn't seem to recognise span/span. It's in a line which has p/p tags so what I have imagined is like:
<p>We'll do that on the 1<?>st</?> of March.</p>
What do I put in the ?/? bracket
I can use small/small tags to make it small but I can't get it to sit at the top of the line.
I'm not even sure what the term for this is, so I'm going to use an example. If I write 1st or 2nd then often the st and nd are small and at the top of the line, not at the bottom of the line.
How do I code this?
Specifically looking for how to code it in sigil, which doesn't seem to recognise span/span. It's in a line which has p/p tags so what I have imagined is like:
<p>We'll do that on the 1<?>st</?> of March.</p>
What do I put in the ?/? bracket
I can use small/small tags to make it small but I can't get it to sit at the top of the line.
Share Improve this question edited Feb 20 at 0:13 Ori Drori 193k32 gold badges237 silver badges227 bronze badges asked Feb 20 at 0:02 Caledonia FifeCaledonia Fife 213 bronze badges1 Answer
Reset to default 6Use the <sup>
(superscript) tag:
<p>1<sup>st</sup>, 2<sup>nd</sup>, 3<sup>rd</sup>
本文标签:
版权声明:本文标题:How do I use html or css to make part of the text in a sentence small and floating at the top of the line? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741464632a2380236.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论