Home
MCQs
HTML MCQs
Attributes MCQs
HTML MCQs

HTML MCQs - Attributes MCQs

Attributes MCQs page consists of attribute and its values, valid value for attribute, favicon attribute, meta attribute, boolean attribute, data source object attribute.

51. Which attribute is not for overriding the actions?

A. Formaction

B. Style

C. Tabindex

D. Slot

Answer: D

52. srclang attribute is used with the element ____________

A. <track>

B. <input>

C. <iframe>

D. <table>

Answer: A

53. Which attribute indicates a descending order of displaying a list?

A. reversed

B. forward

C. straight

D. circular

Answer: A

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

55. loop attribute is not used with _____________

A. <audio>

B. <marquee>

C. <video>

D. <track>

Answer: D

56. How does download attribute work?

A. An indication that hyperlink is to be used for downloading

B. Directly downloads as per the need of the user

C. Gives various source links to download

D. List the topics which one can download from a certain page

Answer: A

57. datetime attribute is not related with ______________

A. <del>

B. <time>

C. <ins>

D. <form>

Answer: D

58. cols attribute is use with ___________

A. <td>

B. <th>

C. <textarea>

D. <ol>

Answer: C

59. Use of checked attribute is ____________

A. Whether on page load element should be checked

B. Whether on page load all form element should be checked

C. Whether on page load all list element should be checked

D. Whether on page load all multimedia elements should be checked

Answer: A

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