Html miscellaneous
- What is the size of content of an <h1> element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The contents of an <h1> element is the largest and the contents of an <h6> element is the smallest. Rest of <h2>, <h3>, <h4>, <h5> lies in between largest and smallest.
- How many levels of headings HTML has?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
HTML has six “levels ” of headings.<h1> is used for main headings,<h2> is used for subheadings. There is no other levels other than <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
- What does semantic markup not define?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
<Semantic markup> which provides extra information, such as where emphasis is placed in a sentence, that something you have written is a quotation, the meaning of acronyms etc.
- Which of the following is not example of block element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The elements which always appear to start on a new line in browser are known as block level elements. Examples are <h1>,<ul>,<li> and <p>.
- Which one is correct syntax?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
<p id=”td”> is the correct syntax for id type declaration. Id attribute’s value should start with a letter or an underscore. We cannot use any number or other character for defining name of the id.