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

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

492. What will happen if height and width of video are not set while video loads?

A. page flickers

B. page does not load

C. page crash

D. page closes

Answer: A

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

494. Number of rows is returned by the attribute __________

A. insertIID

B. rows

C. rowsAffected

D. length

Answer: C

495. Which of the following allows the sandboxed iframe to run scripts from the same domain?

A. allow-same-origin

B. allow-forms

C. allow-scripts

D. allow-pointer-lock

Answer: C

496. What is the use of <hr/> tag?

A. To create horizontal rule between sections

B. To create a line break

C. To create vertical rule between sections

D. For making content appearance italics

Answer: A

497. How many times can HTML5 events be fired?

A. Multiple

B. One

C. Only two

D. Zero

Answer: A

498. Which of the following is added to link or header element?

A. .navbar-default

B. .navbar

C. .navbar-btn

D. .navbar-brand

Answer: D

499. Which of the following specifies the time when location information was retrieved?

A. timestamp

B. cords.speed

C. cords.heading

D. cords.altitudeAccuracy

Answer: A

500. All attribute declarations begin with the keyword ____________ followed by the element name, attribute name, attribute type, and default data information.

A. XML

B. SGML

C. ATTLIST

D. HTML

Answer: C