मराठी

What are the attributes available in <html> tags?

Advertisements

प्रश्न

What are the attributes available in <html> tags?

थोडक्यात उत्तर
Advertisements

उत्तर

<html> tag has two attributes viz. dir and lang to specify the text direction and language setting respectively.

attribute Value to be set to attribute Description
dir Itr (align left-to-right)
rtl (align right-to-left)

dir attribute specifies the direction of the
text to be aligned within the entire
document. It is a global attribute.

Itr is the default value.
rtl is used for Arabian languages.

lang Predefined language
code English - en
Tamil - ta
Telugu - te
lang attribute specify the language
used within the document.
Predefined language code will
be used for this purpose.
Malayalam - ml;
Kannada - kn;
Hindi - hi;
French - fr;
German - ge;
shaalaa.com
HTML Attributes
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: HTML - Structural Tags - Evaluation [पृष्ठ २३६]
Advertisements
Share
Notifications



      Forgot password?
Use app×