HTML Questions

Here is a list of the most commonly used interview questions on HTML, covering both basics and advanced levels.

S.No. Question
1 What is HTML5?
2 Are HTML tags case sensitive?
3 How to write comments in HTML?
4 Are the HTML tags and attributes the same?
5 What are tags and attributes in HTML?
6 What are void or empty elements in HTML?
7 What is the advantage of collapsing white space in HTML?
8 What are HTML entities?
9 What are different types of lists in HTML?
10 What is the difference between the 'class' and 'id' attributes of an HTML element?
11 What are the different types of available DOCTYPE declarations?
12 What is the difference between <b> and <strong> tags in HTML?
13 What is the difference between <i> and <em> tags in HTML?
14 What are the different values that a link target attribute can take?
15 What is the difference between <link> and <a> tags in HTML?
16 What is the difference between <img> and <figure> tags in HTML?
17 What is the difference between <select> and <datalist> tags in HTML?
18 What are the various layout tags in HTML?
19 What are the various formatting tags in HTML?
20 What are semantic elements in HTML?

Overall

Knowing about interview questions and answers boosts our confidence in the technology.