Explore topic-wise MCQs in Html.

This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

Which tag is used to encapsulate navigation and then style the elements appropriately as menu items?

A. ul
B. li
C. nav
D. both ul and li
Answer» E.
2.

To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a playable movie.

A. True
B. False
Answer» B. False
3.

The element ___________ simply groups items within an enclosed dd tag, though it may associate them with a caption defined by a dt tag.

A. object
B. figure
C. embed
D. collect
Answer» B. figure
4.

WHICH_TAG_IS_USED_TO_ENCAPSULATE_NAVIGATION_AND_THEN_STYLE_THE_ELEMENTS_APPROPRIATELY_AS_MENU_ITEMS??$

A. ul
B. li
C. nav
D. both ul and li
Answer» E.
5.

To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a playable movie?

A. True
B. False
Answer» B. False
6.

Which of the following element is used for highlighting content similarly to how a highlighter pen might be used on important text in a book?

A. em
B. strong
C. mark
D. bold
Answer» D. bold
7.

Which of the following attribute is used to display date/time content?

A. time
B. datetime
C. date
D. year
Answer» C. date
8.

____________ contains the navigation menu, or other navigation functionality for the page.

A. section
B. header
C. nav
D. aside
Answer» D. aside
9.

Which element may be used within content to represent material that is tangential?

A. aside
B. cite
C. article
D. class
Answer» B. cite
10.

HTML5 documents may contains a ___________ element, which is used to set the header section of a document.

A. header
B. footer
C. section
D. drive
Answer» B. footer
11.

Which element is used to define a discrete unit of content such as a blogpost, comment, and so on?

A. section
B. class
C. article
D. media
Answer» D. media