HTML5 related interview questions

For any front-end developer interview, the HTML5 related question is a must. So if we are preparing for a front-end developer interview we must cover HTML5 topics. HTML5 is very improved that we can’t just ignore concepts/questions regarding HTML5.

There are many topics in HTML5 but it would be best to prepare the most used topics. Following are some HTML5 related interview questions:

  • What are the new tags of HTML5?
  • What are the usage of HTML meta tags?
  • What are the advantages of symantic tags?
  • Can we have multiple header and footer tag inside a HMTL document?
  • What will happen if we have multiple head and body tags?
  • What is the relation between header tag and h1 tag?
  • What will happen if we don’t specify the doctype of a HTML document?
  • What is the basic difference between localStorage and sessionStorage?
  • What is the basic difference between SVG and Canvas?
  • What is the relation between session and cookie?
  • What are the limitations of cookie?
  • What are the limitations of cookie?
  • What is the basic difference between web socket and web workers?