HTML Basic
- Choose the correct tag for the largest heading in HTML.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Headings in HTML starts from <h1> to <h6> in which <h1> heading is the largest one and <h6> is smallest one among those. The heading tags are <h1> <h2> <h3> <h4> <h5> and <h6> that are used for the creations of headings.
- Which of the following are table tags?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Table has different tags such as table, thead, tr, td, etc whereas colospan is an attribute of table.
- Choose the correct HTML for width attribute and its value.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Always mention the attribute value in quotes in HTML. It is one of the rule of HTML attributes.
- Which of the following prints bold letters in traditional HTML?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: E
Traditional HTML is case insensitive and thus we can write tag/element name either in lowercase or uppercase or both which will be ignored by browser by default.
- Identify the count of mistakes in the following markup.
<html>
<head>
</head>
<body>
<li>
<ul><p>Interview Mania</p></ul>
</li>
<hr>
</body>
</html>
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
We can write <p></p> tag in <ul></ul> tag as there is no such rule or else limitation. The tags <br> and <hr> are closed by default in browser.