0% found this document useful (0 votes)
4 views3 pages

HTML Interview Questions & Answers

The document contains 100 interview questions and answers about HTML, covering its definition, structure, tags, attributes, and usage. It highlights key concepts such as semantic tags, forms, and multimedia support in HTML5. The content is aimed at preparing candidates for interviews related to web development and HTML knowledge.

Uploaded by

temporaryhai25
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

HTML Interview Questions & Answers

The document contains 100 interview questions and answers about HTML, covering its definition, structure, tags, attributes, and usage. It highlights key concepts such as semantic tags, forms, and multimedia support in HTML5. The content is aimed at preparing candidates for interviews related to web development and HTML knowledge.

Uploaded by

temporaryhai25
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HTML – 100 Interview Questions with Answers

(Campus Drive / Cyntexa)


1. What is HTML? → A markup language to structure web pages.
2. Full form of HTML? → HyperText Markup Language.
3. Is HTML a programming language? → No.
4. Latest version of HTML? → HTML5.
5. HTML file extension? → .html
6. Is HTML case sensitive? → No.
7. What is a tag? → Keyword inside angle brackets.
8. What is an element? → Tag with content.
9. What is DOCTYPE? → Defines HTML version.
10. HTML comment? → Written using comment syntax.
11. Empty tags? → Tags without closing tag.
12. Examples of empty tags? → br, hr, img.
13. Basic HTML structure? → html, head, body.
14. Head tag use? → Metadata.
15. Body tag use? → Visible content.
16. Title tag use? → Browser tab name.
17. Meta tag use? → Page information.
18. Browser role? → Renders HTML.
19. Text editors? → VS Code.
20. HTML usage? → Creating web pages.
21. Heading tags? → h1 to h6.
22. Largest heading? → h1.
23. Paragraph tag? → p.
24. Line break tag? → br.
25. Horizontal line tag? → hr.
26. Bold tag? → b.
27. Strong tag use? → Important text.
28. Italic tag? → i.
29. Em tag use? → Emphasis.
30. div tag? → Block container.
31. span tag? → Inline container.
32. Block elements? → div, p.
33. Inline elements? → span, a.
34. Semantic tags? → Meaningful tags.
35. Examples of semantic tags? → header, footer.
36. Why semantic tags? → SEO and readability.
37. nav tag use? → Navigation.
38. section tag use? → Page section.
39. article tag use? → Independent content.
40. footer tag use? → Bottom info.
41. Attribute? → Extra information.
42. Attribute location? → Opening tag.
43. id attribute? → Unique identifier.
44. class attribute? → Group of elements.
45. id vs class? → Unique vs reusable.
46. src attribute? → Source path.
47. href attribute? → Link URL.
48. alt attribute? → Accessibility.
49. title attribute? → Tooltip text.
50. style attribute? → Inline CSS.
51. disabled attribute? → Disable input.
52. required attribute? → Mandatory field.
53. placeholder attribute? → Hint text.
54. target attribute? → Open link.
55. target blank? → New tab.
56. width attribute? → Element width.
57. height attribute? → Element height.
58. name attribute? → Form data name.
59. value attribute? → Default value.
60. readonly attribute? → Read only.
61. Form? → Collect user input.
62. Form tag? → form.
63. Input tag? → input.
64. Text input type? → text.
65. Password input type? → password.
66. Email input type? → email.
67. Submit input type? → submit.
68. Radio input type? → radio.
69. Checkbox input type? → checkbox.
70. Label tag? → Input label.
71. GET method? → Data in URL.
72. POST method? → Data hidden.
73. Secure method? → POST.
74. Anchor tag? → a.
75. Anchor syntax? → Uses href attribute.
76. Internal link? → Same website.
77. External link? → Different website.
78. Email link? → mailto.
79. Download attribute? → download.
80. Button vs submit? → Submit sends form.
81. Table tag? → table.
82. Row tag? → tr.
83. Data cell tag? → td.
84. Header cell tag? → th.
85. Table border? → CSS or attribute.
86. Image tag? → img.
87. Image alt use? → Screen readers.
88. Audio tag? → audio.
89. Video tag? → video.
90. HTML5 multimedia support? → Yes.
91. Canvas tag? → Graphics.
92. HTML without CSS? → Yes.
93. HTML without JS? → Yes.
94. DOM? → Document Object Model.
95. Responsive design? → Supports all devices.
96. Viewport meta tag? → Responsive pages.
97. HTML SEO friendly? → Semantic tags.
98. Accessibility? → Usable by all.
99. HTML future? → Base of web.
100. HTML most important? → Basics and forms.

You might also like