Styling by Language: Using the lang Attribute for Multilingual Design
dev.to·6d·
Discuss: DEV
📰Typography
Preview
Report Post

When East Meets West (on the Same Page)

If you’ve ever built a bilingual English – Japanese website, you know the struggle. English uses letters with ascenders, descenders, and varying widths. Japanese, on the other hand, mixes three scripts: kanji, hiragana, and katakana, each forming balanced, square-like characters.

Already last year, I told you about a special HTML element that you can use to style this scripts. Read my post HTML and CSS I didn’t even know about before I started creating content.

This is not usually a big problem if the entire page is in one language. But when Latin letters are mixed …

Similar Posts

Loading similar posts...