Social Icons

Pages

sadow

Featured Posts

UpWork HTML 5 Test /FORM

ELEMENTS




9. Which of the following video file formats are currently supported by the < video > element of HTML 5.0?
Options:
A. CCTV
B. MPEG 4
C. Ogg
D. 3GPP

13.   Which of the following are valid HTML 5.0 elements?
Options:

A. < canvas >
B. < summary >
C. < aside >
D. < video >
E. All are correc














CANVAS

42.   Which of the following languages will you use to paint the graphics designed using the HTML 5.0 < canvas > tag?


Options:

A. VB script
B. JavaScript
C. PostScript
D. None of the above

5.       What is the default background color for the canvas element in HTML 5.0?
Options:
A. Black
B. White
C. Transparent
D. Gray
SVG




INPUT TYPES


 How does a button created by the < button > tag differ from the one created by a < 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.


FORMS


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

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



7. 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 the tag.


10.   Which of the following < iframe > attributes are NOT supported in HTML 5.0?
Options:
A. height
B. margin height
C. sandbox
D. scrolling


WEB STORAGE




 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.

8.       When is the window on storage event triggered in the HTML document?
Options:
A. It is triggered when the window is resized.
B. It is triggered when a document loads.
C. It is triggered when a document performs an undo function.
D. It is triggered when the window becomes visible.


APP CACHE




WORKERS

11.   What is the function of the history traversal task source in HTML 5.0?
Options:
A. It is used for features that react to user interaction, for example, keyboard or mouse input.
B. It is used for features that react to DOM manipulations, for example, the things that happen asynchronously when an element is inserted in the document.
C. It is used to queue calls to history.back() and similar APIs.
D. All of the above.



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


12.   A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?
Options:

A. < emp >
B. < code >
C. < dfn >
D. < cite 


 
Blogger Templates