1. Which of the following is not a valid attribute for the <video> element in HTML5?
a. control
b. auto play
c. disabled (Ans.)
d. preload
2. Which HTML5 doctype declarations are correct ?
a. <doctype html>
b. <DOCTYPE html>
c. <DOCTYPE HTML>
d. <!DOCTYPE html> (Ans.)
3. Which of the following HTML5 feature is capable of taking a screenshot of a webpage ?
Ans: Canvas
4.Which of the following are the valid values of the <a> element's target attribute in HTML5 ?
a. _blank
b. _self
c._top
d._bottom (Ans.)
4. The following are valid use cases of client file/directory access in HTML5, except:
a. Drag and drop files from the desktop
b. Full file system access
c. Use of the HTML5 file API (Ans:)
d. Use of files as HTML5 input type
5. Which method of HTML CanvasElement is used to represent image of Canvas Element ?
a. toData URL() (Ans:)
b. savAsimage()
c. saveFiles()
d. exportimage()
6. Can we store JavaScript objects directly into local storage ?
Ans: No
7. Which of the following video file formats are currently supported by the <video> element of HTML5?
a. CCTV
b. MPEG 4 (Ans:)
c. Ogg (Ans:)
d. 3GPP
8. Which of the following video tag attributes are invalid in HTML5 ?
a. Play
b. loop
c. mute
d. pause (Ans:)
9. HTML5 Canvas can be used to create images?
a. False
b. True (Ans:)
10. What is the limit to the length of HTML attributes ?
Ans: There is no limit
11. Which of the following is a possible way to get fullscreen video played from the browser using HTML5?
Ans: <video height="100%" width="100">
12. What is the internal/wire format of input type="date" in HTML5 ?
Ans: YYYY-MM-DD
13. Which is the standard method for clearing a canvas?
Ans: context.clearRect (x, y, w, h);
14. Which of the following<link> attributes are not supported in HTML5?
a. sizes
b. rev (Ans:)
c. rel
d. charset (Ans:)
15. Which element is fired when an element loses it's focus in an HTML document ?
Ans: onblur
16. Which of the following tags is not supported by HTML5 ?
a. <image>
b.<menu>
c.<i>
d.<frame> (Ans:)
17. The......attributes specifies the element text directionality
auto
ltr
dir (Ans:)
rtl
18. The element <font> is currently used in HTML5
a. False (Ans:)
b. True
19. <nav> is an HTML5
Ans: element
20. HTML5 was partially created by WHATWG and
Ans: W3C
21. What is the role of the <dfn> element in HTML 5.0 ?
Ans: It is used to define a definition term.
22. How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application ?
Ans: window.parent
23. What is the default background color for the canvas element in HTML 5.0?
Ans: Transparent
24. What is a <b> tag used for ?
Ans: To define bold text
25. Which of the following video file format are currently supported by the <video> element of HTML 5.0 ?
a. MPEG 4 ( Ans:)
b. CCTV
c. 3 GPP
d. Ogg
26. Blockquote tags are:
Ans: valid HTML 5 mark-up
a. control
b. auto play
c. disabled (Ans.)
d. preload
2. Which HTML5 doctype declarations are correct ?
a. <doctype html>
b. <DOCTYPE html>
c. <DOCTYPE HTML>
d. <!DOCTYPE html> (Ans.)
3. Which of the following HTML5 feature is capable of taking a screenshot of a webpage ?
Ans: Canvas
4.Which of the following are the valid values of the <a> element's target attribute in HTML5 ?
a. _blank
b. _self
c._top
d._bottom (Ans.)
4. The following are valid use cases of client file/directory access in HTML5, except:
a. Drag and drop files from the desktop
b. Full file system access
c. Use of the HTML5 file API (Ans:)
d. Use of files as HTML5 input type
5. Which method of HTML CanvasElement is used to represent image of Canvas Element ?
a. toData URL() (Ans:)
b. savAsimage()
c. saveFiles()
d. exportimage()
6. Can we store JavaScript objects directly into local storage ?
Ans: No
7. Which of the following video file formats are currently supported by the <video> element of HTML5?
a. CCTV
b. MPEG 4 (Ans:)
c. Ogg (Ans:)
d. 3GPP
8. Which of the following video tag attributes are invalid in HTML5 ?
a. Play
b. loop
c. mute
d. pause (Ans:)
9. HTML5 Canvas can be used to create images?
a. False
b. True (Ans:)
10. What is the limit to the length of HTML attributes ?
Ans: There is no limit
11. Which of the following is a possible way to get fullscreen video played from the browser using HTML5?
Ans: <video height="100%" width="100">
12. What is the internal/wire format of input type="date" in HTML5 ?
Ans: YYYY-MM-DD
13. Which is the standard method for clearing a canvas?
Ans: context.clearRect (x, y, w, h);
14. Which of the following<link> attributes are not supported in HTML5?
a. sizes
b. rev (Ans:)
c. rel
d. charset (Ans:)
15. Which element is fired when an element loses it's focus in an HTML document ?
Ans: onblur
16. Which of the following tags is not supported by HTML5 ?
a. <image>
b.<menu>
c.<i>
d.<frame> (Ans:)
17. The......attributes specifies the element text directionality
auto
ltr
dir (Ans:)
rtl
18. The element <font> is currently used in HTML5
a. False (Ans:)
b. True
19. <nav> is an HTML5
Ans: element
20. HTML5 was partially created by WHATWG and
Ans: W3C
21. What is the role of the <dfn> element in HTML 5.0 ?
Ans: It is used to define a definition term.
22. How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application ?
Ans: window.parent
23. What is the default background color for the canvas element in HTML 5.0?
Ans: Transparent
24. What is a <b> tag used for ?
Ans: To define bold text
25. Which of the following video file format are currently supported by the <video> element of HTML 5.0 ?
a. MPEG 4 ( Ans:)
b. CCTV
c. 3 GPP
d. Ogg
26. Blockquote tags are:
Ans: valid HTML 5 mark-up
No comments:
Post a Comment