Advertisements
Advertisements
Question
What are the attributes available in <html> tags?
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 Itr is the default value. |
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; |
APPEARS IN
RELATED QUESTIONS
Which of the following is a special word used inside tag to specify additional information to the tag?
HTML tags should be specified within:
Which section of the browser window displays the main contents?
In HTML, colours are represented as ______.
Which of the following symbol is used to prefix with hexadecimal value representing colour in HTML?
What is the wrong in the following coding?
<html>
<my web page>
<title> Welcome to my web page </head>
</title>
How do you include an image as your web page background?
Explain the attributes available with <body> tag.