htmlcss

The writing-mode property is used in CSS and certain HTML elements. This property controls the intrinsic writing direction rendering for a block of content. The default is left-to-right, top-to-bottom common in western languages, but the alternate rendering mode is top-to-bottom, right-to-left which is a common rendering mode used in Asian writing systems.


Values


HTML example:

<p style="writing-mode:lr-tb;">
Paragraph content.
</p>


CSS example:

p {
   writing-mode:lr-tb;
}


Image example:

This diagram shows how the values will render the text.

This diagram shows how the values will render the text.