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,

111. What activates the collapsible element with an option?

A. .collapse("options")

B. .collapse("show")

C. .collapse("toggle)

D. .collapse("hide")

Answer: A

112. Which event occurs when collapsible element is fully shown?

A. show.bs.collapse

B. shown.bs.collapse

C. hidden.bs.collapse

D. hide.bs.collapse

Answer: B

113. Which of the following is not an empty element?

A. <hr/>

B. <br/>

C. <p/>

D. Both <hr/> and <br/>

Answer: C

114. The ___________ of an item is the value of its element’s itemid attribute.

A. token

B. typed item

C. global identifier

D. scope

Answer: C

115. Which of the following is not sectioning elements?

A. <article>

B. <aside>

C. <nav>

D. <header>

Answer: D

116. ____________ defines the accelerator key to be used for keyboard access to an element.

A. data-X

B. accesskey

C. rp

D. command

Answer: B

117. __________ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on.

A. JavaScript

B. JQuery UI

C. VTS

D. JCL

Answer: B

118. Which tag is used to defines multiple media resources for media elements audio and video?

A. <source>

B. <canvas>

C. <audio>

D. <video>

Answer: A

119. To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.

A. getImageData

B. toDataURL

C. getContext

D. restore

Answer: C

120. Which of the following is not example of block element?

A. <h1>

B. <ul>

C. <p>

D. <a>

Answer: D