Html upper and lower indecies
19,800
Solution 1
HTML TAGS: try sup and sub tags,...
Other Option Using css:
.sup,
.sub {
height: 0;
line-height: 1;
vertical-align: baseline;
_vertical-align: bottom;
position: relative;
}
.sup {
bottom: 1ex;
}
.sub {
top: .5ex;
}
text <span class=sup>upper</span><span class=sub>lower</span>
Solution 2
Use the <sup>
and <sub>
tags.
Author by
Hanut
Updated on June 23, 2022Comments
-
Hanut almost 2 years
any ways to put into html using css upper or lower indecies like: ¹ or ₁ (I also need latin letters).