For an Urdu web page, which attributes should be set on the html element?
- lang="pk" dir="up"
- charset="urdu"
- lang="en" dir="ltr"
- lang="ur" dir="rtl"
Answer
D) lang="ur" dir="rtl"
Urdu is written right-to-left, so lang="ur" and dir="rtl" are used.
Computer Science MCQ · More HTML5 for Mobiles MCQs · Practise