Friday 30 January 2015

HTML5 Technical Interview Questions and Answers (Part7)

31. What are the new Form Elements introduced in HTML 5?
There are a number of new form elements has been introduced in HTML 5 as follows:
datalist
datetime
output
keygen
date
month
week
time
number
range
email
url

32. What are the deprecated Elements in HTML5 from HTML4?
Elements that are deprecated from HTML 4 to HTML 5 are:
frame
frameset
noframe
applet
big
center
basefront

33. What are the new APIs provided by HTML 5 standard?
HTML 5 standard comes with a number of new APIs. Few of it are as follows:
Media API
Text Track API
Application Cache API
User Interaction
Data Transfer API
Command API
Constraint Validation API
History API
and many more….

34. What is the difference between HTML 5 Application Cache and regular HTML Browser Cache?
One of the key feature of HTML 5 is “Application Cache” that enables us to make an offline version of a web application. It allows to fetch few or all of website contents such as HTML files, CSS, images, javascript etc locally. This feature speeds up the site performance. This is achieved with the help of a manifest file defined as follows:
<!doctype html>
<html manifest=”example.appcache”>
…..
</html>
As compared with traditional browser caching, Its not compulsory for the user to visit website
contents to be cached.

35. What is the use of Canvas Element in HTML5? 
HTML5 Canvas element can be used to draw graphics images on a web page by using javascript.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6  Part7  Part8  Part9  Part10

No comments:

Post a Comment