2 ms·
> Elements like <body> and <header> contain blocks stacked vertically. But elements like <p> and <h1> contain text and lay that text out horizontally in lines.
by ksec 6y ago
> Elements like <body> and <header> contain blocks stacked vertically. But elements like <p> and <h1> contain text and lay that text out horizontally in lines. ( In European languages, at least! )
Another day, another features despite PDF not being perfect, is still miles ahead of HTML. I am not even sure if there are any intention to bring vertical Japanese subtext feature to HTML.
- nicoburns 6y agoHTML/CSS has vertical text https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientation https://developer.mozilla.org/en-US/docs/Web/CSS/text-orient...
- darrenf 6y ago> I am not even sure if there are any intention to bring vertical Japanese subtext feature to HTML. Perhaps not HTML itself, but the first draft for writing modes in CSS is over 10 years old: https://www.w3.org/TR/2010/WD-css3-writing-modes-20101202/ https://www.w3.org/TR/2010/WD-css3-writing-modes-20101202/ > This module specifies the text layout model in CSS and the properties that control it. It covers bidirectional and vertical text. There have been numerous revisions in the subsequent years. In 2017 w3.org published this article specifically on using vertical text in paragraphs, forms, lists and tables: https://www.w3.org/International/articles/vertical-text/ https://www.w3.org/International/articles/vertical-text/