HTML QUESTIONS
BASIC LEVEL QUESTIONS:
1. What is Html?
2. What are Html tags?
3. What is the basic structure of an Html document?
4. What is the difference between an element and a tag
in html?
5. What are attributes in html?
6. How do you create hyperlink in html?
7. What is the purpose of the <img> tag in html?
8. What is the difference between block-level and inline
elements in html?
9. How do you create a list in html?
10. What is the <form> tag used for in html?
11. What is the purpose of the <br> tag?
12. How do you create a hyperlink that opens in new
tab?
13. What is the <title> tag used for?
14. How do you add a comment in html?
15. What is the purpose of the <mete> tag?
16. How to you create a table in html?
17. What is the difference between <head> and
<body> tags?
18. How do you specify the character encoding for
an html document?
19. What is the <stong>tag used for?
20. How do you create an email link in html?
21. What is the <em> tag used for?
22. How do you create a checkbox in html?
23. What is the purpose of the <label> tag?
24. How do you create a dropdown list in html?
25. What is the<blockquote>tag used for?
Intermediate question
1. What are semantic html elements?
2. How do you embed a video in html5?
3. What is the purpose of the alt attribute in the <img>
tag?
4. What is the <fieldset> tag used for I html forms?
5. What is the purpose of the <noscript> tag in html?
6. How do you include a javascript file in an html
document?
7. What is the difference between the <b> and <strong>
tags?
8. How do you create a multi-line text input in an html
form?
9. What is the purpose of the action attribute in an html
form?
10. How do you create a numbered list in html?
11. What is the purpose of the <base> tag in html?
12. How do you create a definition list in html?
13. What is the purpose of the enctype attribute in an
html form?
14. How do you create a hidden input field in an
html form?
15. What is the purpose of the <address> tag in
Html?
Advanced questions
1. What is the purpose of the <canvas> element in
html5?
2. What is the difference between <b> ,<strong>and
between<i> and <em> tags?
3. How can you include SVG graphics directly in an
HTML document?
4. What are data attributes in html and how are they
used?
5. Explain the purpose of the <template> tag in html?
6. What is the purpose of the rel attribute in a <link>
tag?
7. How do you specify multiple language versions of a
webpage?
8. What is the purpose of the <output> tag in html?
9. How can you make an HTML element editable in the
browser?
10. What is the purpose of the <datalist> tag in
html?
11. What is the difference between <section>,
<article>, and <div> elements?