Html miscellaneous
- The accesskey attribute specifies a keyboard navigation accelerator for the element.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The accesskey attribute specifies a shortcut key to activate/focus an element. It specifies a keyboard navigation accelerator for the element. We can use accesskey attribute in forms or links.
- Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Height of element is pixels is specified by height attribute. The hspace attribute specifies the whitespace on left and right side of an object. The hidefocus specifies whether a focused rectangle is drawn around an object. The identifier for data source is set by dataSrc.
- Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The identifier for data source is set by dataSrc. When the dataSrc property is applied to a tabular data consumer, the entire data set is repeated by the consuming elements. DataFormatAs specifies how data is rendered. A Disabled is a boolean attribute which specifies that element should be disabled.
- Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
DataFormatAs specifies how data is rendered. The identifier for data source is set by dataSrc. Datafld attribute specifies the column name from the data source object that supplies the bound data. This attribute is specific to Microsoft’s data binding. A Disabled is a boolean attribute which specifies that element should be disabled.
- The __________ attribute sets the text direction as related to the lang attribute.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The dir attribute specifies the text direction of the element’s content. List of directory files is given by dir tag which is not supported in HTML5. The language of an element’s content is given by lang attribute. The subscript text is defined by sub attribute.