• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.
    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS Putting text directly on top, similar to superscript

I know superscript can put things at the top right, like 15<sup>th</sup>, however what if I dont want this small text on the top right, but directly on top? Is there a code for this?
I want to have like a character..



but directly on top put the letterings so its easier to read for beginners :)
 
I've figured it out!
Sorry, it was a bit hard for me to find at first as I didn't know the word to describe it in English aside from like "above text" lol,
but using the previous picture I could code that like:


HTML:
<ruby>雨<rt>あめ</rt></ruby>が<ruby>降<rt>ふ</rt></ruby>っている
Hope this helps someone else~
 
Top Bottom