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

1. The major difference between minlength and min attribute is ______

A. ‘minlength’ is for the minimum number of characters and ‘min’ is for the minimum value

B. ‘minlength’ is for the minimum value and ‘min’ is for the minimum number of characters

C. ‘minlength’ is for multiple values and ‘min’ is for the single value

D. ‘minlength’ is for single value and ‘minlength’ is for multiple values

Answer: A

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

A. <time>

B. <nav>

C. <footer>

D. <header>

Answer: A

3. Which of the following opens linked document in full body?

A. _blank

B. _top

C. _parent

D. framename

Answer: B

4. Which element sets default font face, size and color for other elements?

A. <applet>

B. <basefont>

C. <big>

D. <acronym>

Answer: B

5. Which of the following file extension is not used for audio MIME?

A. .ogv

B. .aac

C. .wav

D. .webm

Answer: A

6. A ____________ element must have a start tag but must not have an end tag.

A. details

B. command

C. code

D. both details and command

Answer: B

7. For testing we should use ________

A. document.write()

B. console.log()

C. window.alert()

D. innerHTML

Answer: A

8. Which of the following is not a newly added element in HTML5?

A. article

B. audio

C. nav

D. frameset

Answer: D

9. Which one of the following will add prefix automatically?

A. Gulp

B. PostCSS

C. Selectivizr

D. MooTools

Answer: B

10. Windowless plug-in will not call ____________

A. NPN_InvalidateRegion

B. NPN_ForceRedraw

C. NPN_InvalidateRect

D. NPP_GetValue

Answer: D