- Instant help with your CSS coding problems

Write vertical text in HTML

Question:
How to write vertical text in HTML?
Answer:
writing-mode: vertical-lr;
Description:

With the writing-mode CSS property, you can control, how text is laid out. You can write vertical texts using the vertical-rl or vertical-lr property value.

The old rl , tb , tb-lr , tb-rl values are deprecated.

 

Share "How to write vertical text in HTML?"
Interesting things
OpanAi's ChatGPT