English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What are the attributes available in <html> tags? - Computer Applications

Advertisements
Advertisements

Question

What are the attributes available in <html> tags?

Answer in Brief

Solution

<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
  Is there an error in this question or solution?
Chapter 10: HTML - Structural Tags - Evaluation [Page 236]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 10 HTML - Structural Tags
Evaluation | Q 2. | Page 236
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×