Which of the following is NOT a valid value for the < iframe > sandbox attribute in HTML 5.0?
Options:
A.url
B. allow-scripts
C. allow-same-origin
D. allow-forms
What is the output when you use the HTML 5.0 code snippet shown below?
< body onload=”alert(this)” >
Options:
A. It will alert saying “[object HTMLBodyElement]” when the document is loaded.
B.It will alert saying “[object Window]” when the document is loaded.
C. It will alert saying “[this]” when the document is loaded.
D. The alert message is not properly defined in the body element and an error will be generated when the document is loaded.
How does a button created by the < button > tag differ from the one created by an < input > tag?
Options:
A.An input tag button can be a reset button too.
B. A button tag button can be a reset button too.
C. An input tag button can include images as well.
D. A button tag can include images as well.
How will you change the value of the cookies and items in the Storage objects of the localStorage attributes in HTML 5.0?
Options:
A. By invoking the window.dialogArguments() API method.
B.By invoking the window. navigator.yieldForStorageUpdates() API method.
C. By invoking the window.navigator.appName API method.
What is the default background color for the canvas element in HTML 5.0?
Options:
A. Black
B. White
C. Transparent
D. Gray
Which of the following values would be passed on by clicking the submit button on selecting Item 2 from the list?
A. 89
B. 90
C. Item 1
D. Item 2
Which of the following statements is correct if you allow the user to select only one radio button from a group of radio buttons?
Options:
A.The name of the input tag must be the same for all the radio buttons.
B. The value of the input tag must be the same for all the radio buttons.
C. The display text of the input tag must be the same for all the radio buttons.
D. All the radio buttons must be added to the same group using thetag.