Friday, June 21, 2013

HTML MCQ Test – 2

Que.1. Which of the following term describes the art of making dynamic & interactive pages?
A.    DHTML
B.     HTML
C.    XHTML
D.    XML

Right Answer: A

Que.2. <output> element represent?
A.    Authenticate the user
B.     result of a calculation
C.    pre-defines value
D.    none of these

Right Answer: B

Que.3. Attributes consist of a name and a value separated by ________ sign ?
A.    “ ”
B.     ,
C.    =
D.    ;

Right Answer: C

Que.4. Target attribute is used for
A.    opening new document
B.     selecting previous document
C.    deleting frame
D.    none of above

Right Answer: A

Que.5. Which element provides a secure way to authenticate the user?
A.    <keygen>
B.     <datalist>
C.    <output>
D.    <input>

Right Answer: A

Que.6. For defining the possible link break which tag do we have to use HTML5?
A.    <video>
B.     <track>
C.    <summary>
D.    <wbr>

Right answer: D

Que.7. DHTML is the combination of
1)      HTML
2)      javascript
3)      HTML Dom
4)      CSS

A.    1 and 2
B.     3 and 4
C.    All choices are correct
D.    none of these

Right Answer: C

Que.8. <canvas> elements is only a _________ to the graphics.
A.    component
B.     container
C.    attribute
D.    method

Right Answer: B

Que.9. terminate() method in HTML5 is used for ____________.
A.    terminate everything
B.     terminate all method
C.    terminate a web worker
D.    terminate program

Right Answer: C

Que.10. ________ property returns the url of current audio/video.
A.    currentSrc
B.     controls
C.    ended
D.    mediaGroup

Right Answer: A

Que.11. The manifest file is __________.
A.    Text file
B.     HTML file
C.    XML file
D.    java file

Right Answer: A

Que.12. Which file is used by the browser to fetch the appropriate data ?
A.    Text file
B.     HTML file
C.    XML file
D.    manifest file

Right Answer: D

Que.13. Where does web worker(s) script run?
A.    in forground
B.     in background
C.    both a and b
D.    can’t determinte

Right Answer: B

Que.14. _________ Function displays the latitude or Longitude in geoLocation in HTML5.
A.    showLocation()
B.     showPosition()
C.    both a and b
D.    showStatus()

Right Answer: B

Que.15.  Canvas is able to draw the 2D graphics using----------------
A.    XML
B.     HTML
C.    Java script
D.    XHTML

Right Answer: C

Que.16 Which storage object is used for storing the data with no expiry date?
A.    Session storage
B.     local storage
C.    mass storage
D.    stack storage

Right Answer: B

Que.17. Application cache is used for ____________
1)      offline browsing
2)      Speed
3)      Reduced server load

A.    1 and 2
B.     2 and 3
C.    All choices are correct
D.    none of these

Right Answer: C

Que.18. Seamless is a __________ type of attribute.
A.    integer
B.     Char
C.    Boolean
D.    Float

Right Answer: C

Que.19. Height attribute specifies the height of which frame?
A.    iframe
B.     jframe
C.    inline frame
D.    outline frame

Right Answer: C

Que.20. Given statement is true or false: “Web worker script is depends on other script.”
A.    Yes
B.     No

Right Answer: A

No comments:

Post a Comment