1. What is HTML and what is its purpose?
2. Why is html not considered a programming language?
3. What is the difference between HTML elements and tags?
4. What do DOCTYPE and html lang attributes do?
5. What is the use of head and body tags?
6. What is the link tag?
7. What is the script tag?
8. What is the best place (head/body) to add a script tag in an html document.
9. How to add comments in html?
10. What are elements & tags. What is the difference between them?
11. What are the attributes?
12. How to add custom attributes?
13. What are empty html tags?
14. Is html case sensitive?
15. What are semantic elements and why we should use semantic elements?
16. What are the blocks & inline elements?
17. What is the difference between block & inline elements?
18. What is the use of heading tag?
19. What is the difference between b and strong tag?
20. How to add line-break in html?
21. What is the difference between em and I tag?
22. What is the abbr tag in html?
23. What is the marquee tag?
24. How do you create a hyperlink in html?
25. What is the difference between relative & absolute URL?
26. How to open a link in new tab?
27. How to link email address and phone number?
28. How to make a downloadable link?
29. How to create link for section in html?
30. What is the difference between link and a tag?
31. What is the difference between target=”_blank” and target=”blank” in html?
32. What is the different type of the list available in html?
33. What is the difference between ol and ul tag?
34. Can we use li tag without ol or ul tag?
35. What is the purpose of a form in html?
36. What is the use of action attribute in html form?
37. What is the difference between get & post methods in html form?
38. What is the use of autocomplete attribute in html form?
39. What is the use of novalidate attribute in html form?
40. What is the use of enctype attribute in html form?
41. What enctype value is necessary to upload file?
42. What is the purpose of input tag in html?
43. What is the use label tag in html form?
44. How to create checkbox & radio in html?
45. How to create password input field in html?
46. How to create date & month input field in html?
47. What is the use of file input in html?
48. What is the use of accept attribute in file input?
49. How to create a file input field that allows users to select and upload multiple files at once.
50. What is the use of name attribute in html form?
51. What is the difference between name=”student” & name=”student[]”?
52. How to make an input field automatically get focus when the page loads?
53. What is the use of max & min attributes in html input?
54. What is the use of maxlength & minlength attributes in html input?
55. What is the use of pattern attribute in html input?
56. What is the purpose of placeholder attribute in html input?
57. How can you ensure that an input field is filled in before a form can be submitted?
58. What is the use of value attribute in html input?
59. What is the difference between checkbox & radio input field?
60. How to create a multi-line input field?
61. What is the difference between textarea and input field?
62. What is the purpose of the rows and cols attributes in an HTML textarea element?
63. How to group related elements in html form?
64. What is the use of select tag and how to make an option pre-selected in html?
65. How to make a submit button for an html form?
66. How to create a form reset button?
67. What is the use of popover & popovertarget in html?
68. How to create pre-defined options for an input field?
69. What is the use of table, thead, tfoot & tbody tags in html?
70. How to create rows in html table?
71. What is the difference between th and td tag?
72. How to create table caption?
73. What is the use of rowspan & colspan in html table?
74. What is the purpose of img tag in html?
75. What is the role of alt attribute in img tag?
76. What is the use of figure and figcaption in html?
77. What are the benefits of specifying width and height attributes in an img tag??
78. How to optimize image in html?
79. What is svg in html?
80. What is the purpose of image map in html?
81. Difference between picture & img tag?
82. How to embed video in html document?
83. What is the use of muted & autoplay attribute in video element?
84. What is the use of track tag in html?
85. How to embed audio in html document?
86. How to embed youtube video in html document?
87. What is the purpose of meta tag in html?
88. What is the meta title?
89. What is the role of meta description in html document and how it helps in Seo and what is the recommended length for meta description?
90. What is the role of meta keywords in html document?
91. Explain open graph in html document?
92. How to reload html page using meta tag?
93. What is use of meta viewport in html document?
94. What are html entities?
95. What is the purpose of the <meta name="robots"> tag?
96. How to optimize html document?
97. What is the difference between the ‘id' and ‘class' attributes of HTML elements?
98. What are the benefits of minifying html documents?
99. What is the use of tabindex in html?
100. Difference between meter and progress tag?