Friday, 17 August 2012

HTML5 Awsome Quiz Questions & Answers - 1

1. Which current browser supports most of features of HTML5? And which browser supports less features?
Ans. Chrome supports most of features of HTML5 and IE9 supports less features.
Here is ranking of browsers with respect to support(score) from higher to lower,
    a) Chrome21 - 437          b) Maxthon 3.4.1 - 422
    c) Opera 12.0 - 385         d) Safari 6.0 - 376
    e) Firefox 14 - 345            f)  IE9 - 138.

2. Which of these technologies/API's are officially a part of HTML5?
   a) Web SQL   b) Microdata   c) SVG   d) Silerlite.
  Ans . Microdata.
HTML5 shows number of API's as given below,
    a)  Application cache API   b) Data transfer API   c) Command API   d) Constraints validation API.
    e) History API.   f) Mediacontroller API   g) Text track API.
These are few API's not all. There are still other API's that HTML5 supports.

3. Which of these element is not supported under HTML5?
   a) blockquote   b) table   c) cite   d) center.
Ans. center.
Other elements not supported in HTML5 are as given below,
    a) acronym   b) applet   c) basefont   d) big   e) dir   
    f) font   g) frame   h) frameset   i) noframes   j) strike   k) tt.

4. What is use of datalist tag? And which browsers dose not support datalist tag?
Ans. <datalist> tag is used to provide auto complete feature on input elements. User will see drop down list as he/she will input data.As we see drop down list when we type search keyword in google.
IE and safari dose not support this feature.

5. Which of these is not valid HTML5 section element?
   a) header   b) aside   c) nav   d) body.
Ans . body.

6. Dose HTML5 require reference to DTD? Why?
Ans. HTML5 need no support of DTD(Document Type Definition), because it is not based on SGML(Standard Generalized Markup Language).

7. Which of these is not valid input type in HTML5?
   a) telephone   b) week   c) datetime-local   d) color.
Ans . telephone.
All new input types in HTML5 are given below,
    a) color   b) date   c) datetime   d) datetime-local   e)  email   f) month   g) number
    h) range   i) search   j)  tel   k)  time   l)  url   m) week.

8. Which of the following is not media element?
   a) readyToPlay   b) embed   c) track   d) video
Ans. readyToPlay

9. Can we have two body tags in same HTML5 file?
   a) Yes   b) No   c) May be   d) Sometimes
Ans. Yes

10. Can we embed one <html> tag in body of another one in same file?
   a) Yes   b) No   c) May be   d) Sometimes
Ans. Yes

More... http://tech-world-brij.blogspot.in/2012/08/html5-awsomw-quiz-questions-answers-2.html.

No comments:

Post a Comment