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.

61. The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing.

A. DOCTYPE

B. ATTLIST

C. DTD

D. SGML

Answer: A

62. Which of the following detects for the support of size attribute of an image?

A. JPEG 2000

B. JPEG XR

C. Image crossOrigin

D. Sizes

Answer: D

63. insertId attribute returns ____________

A. column ID

B. row ID

D. database ID

Answer: B

64. Number of rows is returned by the attribute __________

A. insertIID

B. rows

C. rowsAffected

D. length

Answer: C

65. <template> does not include the attribute ___________

A. id

B. hidden

C. lang

D. src

Answer: D

66. Which attribute defines numbers of columns in a group?

A. width=multi-length[CN].

B. span=number[CN].

C. scope=scope-name[CN].

D. headers=idrefs[CS].

Answer: B

67. Scope attribute can’t have the value __________

A. row

B. rowgroup

C. col

D. <head>

Answer: D

68. valign attribute does not take the value __________________

A. justify

B. middle

C. baseline

D. bottom

Answer: A

69. Which attribute is only used with <ol>?

A. value

B. type

C. compact

D. start

Answer: D

70. target attribute cannot have?

A. _blank

B. _self

C. _parent

D. _color

Answer: D