HTML MCQ Questions and Answers on Elements

HTML MCQ Questions and Answers on Elements Here provide HTML Multiple Choice Questions with Answers on HTML. you can learn and practice questions.

HTML MCQ Questions and Answers on Elements

1. Choose the correct option.

A. Elements in HTML describes the way of presenting the content in the browser.
B. All elements must have atleast one attribute associated with it.
C. Both a and b.
D. None of the above
Answer : A
Explanation: Elements in HTML may or may not have an attribute.

2. In HTML, <ul> means

A. Underline
B. Unique list.
C. Unordered list.
D. None of the above
Answer : C
Explanation: <ul> is used for listing thins an unordered manner.

3. Which one of the following options is correct?

A. Both block element and inline element start in the new line.
B. Both block element and inline element start in the same line
C. Only inline element starts in new line.
D. Only block element starts in new line.
Answer : D
Explanation: Block element starts in a new line while inline elements start in the same line.

4. Which of the following is a block element?

A. <b>
B. <i>
C. <p>
D. <u>
Answer : C
Explanation: <p> is a block element in HTML.

5. Which of the following is an inline element?

A. <p>
B. <h1>
C. <div>
D. <s>
Answer : D
Explanation: <s> is an inline element in HTML.

6. Which one of the following is the least significant heading tag?

A. <h1>
B. <h3>
C. <h5>
D. <h6>
Answer : D
Explanation: HTML headings range from <h1> to <h6>,among which <h6> is the least significant.

7. Choose the appropriate tag to get the content in browser as follows:

<html>
  <body>
   ______
   Johny Johny!
   Yes Papa
   ______
  </body>
</html>


Johny Johny!
Yes Papa

A. <p> </p>
B. <pre> </pre>
C. <s> </s>
D. <b> </b>
Answer : B
Explanation: <pre> tag is used to retain the spaces as well as a new line of the content as it is.

8. Which one of the following is the most significant heading tag?

A. <h1>
B. <h3>
C. <h5>
D. <h6>
Answer : A
Explanation: HTML headings range from <h1> to <h6>,among which <h1> is the most significant.

9. Choose the correct option.

A. HTML elements are represented within tags.
B. HTML tags are case insensitive.
C. While executing an HTML document, browser do not display the tags.
D. All of the above
Answer : D
Explanation: All the above three statements are correct with respect to HTML tags.

10. Fill in the blank so that the browser display- Charge of elctron is 1.602×10^(-19) on exexcuting the HTML document?

A. Charge of elctron is 1.602×10-<sup>19</sup>
B. Charge of elctron is 1.602×10<sup>-19</sup>
C. Charge of elctron is 1.602×10-<sub>19</sub>
D. Charge of elctron is 1.602×10<sub>-19</sub>
Answer : B
Explanation: The content written between <sup> and </sup> gets superscripted.

Be the first to comment

Leave a Reply

Your email address will not be published.


*