HTML Elements MCQs

HTML Elements MCQs : This section focuses on "Elements" in Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

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

View Answer


2. In HTML, <ul> means

A. Underline
B. Unique list.
C. Unordered list.
D. None of the above

View Answer


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.

View Answer


4. Which of the following is a block element?

A. <b>
B. <i>
C. <p>
D. <u>

View Answer


5. Which of the following is an inline element?

A. <p>
B. <h1>
C. <div>
D. <s>

View Answer


6.  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>

View Answer


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

A. <h1>
B. <h3>
C. <h5>
D. <h6>

View Answer


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

A. <h1>
B. <h3>
C. <h5>
D. <h6>

View Answer


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

View Answer


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

<!DOCTYPE html>
<html>
<body>
__________________
</body>
</html>

A. Charge of elctron is 1.602x10-<sup>19</sup>
B. Charge of elctron is 1.602x10<sup>-19</sup>
C. Charge of elctron is 1.602x10-<sub>19</sub>
D. Charge of elctron is 1.602x10<sub>-19</sub>

View Answer





Also check :


Discussion



* You must be logged in to add comment.