ExamVeda
Login
Home
51
The __________ element may contain not just links but also other interactive items, including the newly introduced command element.
Discuss
Answer & Solution
Answer: Option B
Solution:
The menu tag defines a list/menu of commands. The menu tag is used for context menus, toolbars and for listing form controls and commands.
52
The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe
Discuss
Answer & Solution
Answer: Option B
Solution:
The seamless attribute is a boolean attribute. When present, it specifies that the iframe should look like it is a part of the containing document (no borders or scrollbars).
53
Which of the following allows the sandboxed iframe to run scripts from the same domain?
Discuss
Answer & Solution
Answer: Option C
Solution:
The sandbox attribute enables an extra set of restrictions for the content in the iframe.
54
__________ allows the iframe to pull in content from elsewhere in the same domain.
Discuss
Answer & Solution
Answer: Option A
Solution:
It allows the iframe content to be treated as being from the same origin.
55
All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags
Discuss
Answer & Solution
Answer: Option B
Solution:
The tagName property returns the tag name of the element. In HTML, the returned value of the tagName property is always in UPPERCASE.
56
The __________ element represents a span of text that is isolated from its surroundings for the purposes of bidirectional text formatting
Discuss
Answer & Solution
Answer: Option B
Solution:
bdi stands for Bi-directional Isolation. This element is useful when embedding user-generated content with an unknown directionality.
57
The interactive element audio with the attribute controls must not appear as a descendant of which element?
Discuss
Answer & Solution
Answer: Option D
Solution:
The anchor and the button tag acts as link which cannot be a parent of audio element.
58
A ____________ element must have a start tag but must not have an end tag.
Discuss
Answer & Solution
Answer: Option B
Solution:
The command tag is new in HTML5 and specifies a normal command with an action.
59
Which type attribute of input element sets the element’s value to a string representing a number?
Discuss
Answer & Solution
Answer: Option A
Solution:
The input element with a type attribute whose value is “range” represents an imprecise control for setting the element’s value to a string representing a number.
60
Which of the following type attributes of input element defines control for entering a telephone number?
Discuss
Answer & Solution
Answer: Option B
Solution:
The input element with a type attribute whose value is “tel” represents a one-line plain-text edit control for entering a telephone number.