Home
MCQs
HTML MCQs
All MCQs
HTML MCQs

HTML MCQs - All MCQs

Elements MCQs, Attributes MCQs, HTML5 MCQs, DOM mcqs, Images MCQs, XML and Protocols MCQs, Miscellaneous HTML MCQs

571. border-spacing is given in _____________

A. pixels

B. cm

C. mm

D. inch

Answer: A

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

A. <h1>

B. <ul>

C. <p>

D. <a>

Answer: D

573. Which of the following is not window object method?

A. blur()

B. close()

C. confirm()

D. unescape()

Answer: D

574. Which of the following is not a reserved character?

A. &

B. >

C. +

D. @

Answer: B

575. The interactive element audio with the attribute controls must not appear as a descendant of which element?

A. "a"

B. "button"

C. "audio"

D. "both a and button"

Answer: D

576. Which element allows insertion of empty spaces on pages?

A. <strike>

B. <spacer>

C. <shadow>

D. <plaintext>

Answer: B

577. Which of the following element represents the header of a section or the document and contains a label or other heading information for the related content?

A. data-X

B. header

C. mark

D. meter

Answer: B

578. For clearing all the settings which function should be called?

A. localStorage.remove(key)

B. localStorage.clear()

C. localStorage.remove()

D. localStorage.clearAll()

Answer: B

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

580. _______ drawings can be dynamic and interactive.

A. Canvas based

B. SVG

C. CSS3

D. JavaScript

Answer: B