Home
MCQs
HTML MCQs
Elements MCQs
HTML MCQs

HTML MCQs - Elements MCQs

Elements MCQs page is consisted of values of elements, attributes of elements, properties of elements, elements in html5, newly added elements in HTML5, input type elements,

1. ____________ allows you to add custom styles to the document and test an element afterwards.

A. hasEvent()

B. testAllProps()

C. testProp()

D. modernizr.testStyles()

Answer: D

2. If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.

A. itemscope

B. dom object

C. collection.namedItem

D. itemtype

Answer: B

3. Which of the following is not semantic element for text in HTML5?

A. <mark>

B. <time>

C. <wbr>

D. <article>

Answer: D

4. Which element was not removed by HTML5?

A. <strike>

B. <center>

C. <small>

D. <big>

Answer: C

5. Which element is design to wrap a single piece of information?

A. <time>

B. <nav>

C. <footer>

D. <header>

Answer: A

6. What an article element should not contain?

A. Main element

B. Text or embedded content

C. Image

D. Video & Audio

Answer: A

7. Which element is used to get highlighted text in HTML5?

A. <highlight>

B. <b>

C. <mark>

D. <u>

Answer: C

8. Which of the following element represents a thematic break rather than a horizontal rule, though that is the likely representation?

A. <dd>

B. <dt>

C. <hr>

D. <menu>

Answer: C

9. Which of the following element was redefined to represent user interface menus, including context menus?

A. <ul>

B. <dt>

C. <hr>

D. <menu>

Answer: D

10. Which of the following element is not removed by HTML5?

A. vlink

B. span

C. marginwidth

D. compact

Answer: B