Internationalization (i18n)
๐ Covered in this chapter:
lang Attribute (lang="en", lang="ar") ยท Text Direction (dir="ltr", dir="rtl") ยท Multi-language Navigation ยท Translation-Ready Markup ยท Unicode UTF-8
Welcome to Phase 12 (Chapter 34): Internationalization (i18n)! Build multi-lingual web applications supporting right-to-left (RTL) scripts and global Unicode text.
1Right-to-Left (RTL) Markup Syntax
HTML โ RTL Language Support
โถ Run in HTML Editor
<!-- English Content -->
<p lang="en" dir="ltr">Welcome to Our Compiler HTML5 Course!</p>
<!-- Arabic Content -->
<p lang="ar" dir="rtl">ู
ุฑุญุจุง ุจูู
ูู ุฏูุฑุฉ HTML5!</p>