HTML5 Interview Questions

In this post, we will see HTML5 Interview Questions

HTML5 Interview Questions

List some HTML5 Features?
New Semantic Elements – like , , , etc..,
Improve the Form with new attributes.
Persistent Local Storage.
Support Canvas.
Support Audio & Video embedding without the help of third party plug-in.

Browser Support for HTML5?
All latest browsers such as Apple Safari, Google Chrome, Mozilla Firefox, and Opera support HTML5 tags including latest IE 9.0.

List some new tags introduce in HTML5?
<section>, <articles>, <header>, <footer>, <aside>, <nav>, <dialog>, <figure>

List some HTML5 tags?
<applet>, <area>, <audio>, <canvas>, <map> etc..,

Tell some attributes support HTML5?
Align, class, hidden, bgcolor, id, title, style etc..,

Event attributes in HTML5?
offine, onblur, onchange, onclick, ondrag, onerror, onfoucs, onkeypress, onload etc..,

New value for < Input> element in Web Form 2.0?
datetime, datetime-local, date, month, week, time, number, range, email, url.

output tag uses?
HTML5 introduce this <output> tag to represent the result of different type output which written by script.

HTML5 Support Web storage?
Session Storage
Local Storage

Local Storage uses?
Stores data with no expiration date
Store the value:
localStorage.firstname = “John”;
Retrieve the value:
document.getElementById(“result”).innerHTML = localStorage.firstname;
To clear the storage use:

Session Storage uses?
Stores data for one session (data is lost when the browser is closed)
Store the value:
sessionStorage.firstname = john;
Retrieve the value:
document.getElementById(“result”).innerHTML = localStorage.firstname;

Thank you for reading this post please write your comment below and share this if you like.

Leave a Reply

Your email address will not be published.