FineFrontend
Getting Started
Practice
Contact
Toggle theme
GU
Open navigation menu
Loading...
Open practice navigation
Loading...
Loading...
Home
Practice
Interview Questions
HTML
HTML Interview Questions
Markup, semantics, forms, accessibility, and modern document structure.
Basic
31
Intermediate
39
Advanced
30
01
What is HTML?
02
What does the <!DOCTYPE html> declaration do?
03
What is the basic structure of an HTML document?
04
What is the difference between the <head> and <body>?
05
How do you write a comment in HTML?
06
What are heading tags in HTML?
07
What is semantic HTML?
08
What is the difference between <p> and <br>?
09
What does the <a> tag do?
10
What is the href attribute used for?
11
How do you add an image to a page?
12
Why is the alt attribute important on images?
13
What types of lists are available in HTML?
14
What are the main tags used to build a table?
15
What is an HTML form?
16
Why should form inputs be associated with labels?
17
What is the difference between block and inline elements?
18
What is the difference between <div> and <span>?
19
What is the difference between class and id attributes?
20
What are global attributes in HTML?
21
What are data-* attributes used for?
22
What is a void element?
23
What are HTML entities?
24
What is the purpose of the <script> tag?
25
How do inline, internal, and external CSS differ?
26
How do you embed audio or video in HTML?
27
What is an iframe?
28
What does the viewport meta tag do?
29
What is the lang attribute used for?
30
What are common semantic sectioning elements?
31
What does the required attribute do on a form field?