{"id":10085,"date":"2023-04-29T13:02:00","date_gmt":"2023-04-29T13:02:00","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=10085"},"modified":"2023-06-19T13:30:01","modified_gmt":"2023-06-19T13:30:01","slug":"top-50-html-interview-questions-with-answers","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/","title":{"rendered":"Top 50 HTML Interview Questions with Answers"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png\" alt=\"\" class=\"wp-image-10093\" width=\"727\" height=\"327\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png 1000w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image-300x135.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image-768x346.png 768w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><figcaption class=\"wp-element-caption\"><strong><em>HTML Interview Questions with Answers<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">1. What does HTML stand for?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) Hyper Text Markup Language<br>b) Higher Text Markup Language<br>c) Hyperspace Text Markup Language<br>d) Home Text Marking Language<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">2. Which is the use of the img tag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) Insert an image<br>b) Create a hyperlink<br>c) Create a table<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">3. Which tag is used to define unordered list?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) ul<br>b) ol<br>c) li<br>d) div<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">4. Which is the correct syntax for creating a hyperlink?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;a href=&quot;https:\/\/www.example.com&quot;&amp;gt;Example&amp;lt;\/a&amp;gt;\nb) &amp;lt;a src=&quot;https:\/\/www.example.com&quot;&amp;gt;Example&amp;lt;\/a&amp;gt;\nc) &amp;lt;a link=&quot;https:\/\/www.example.com&quot;&amp;gt;Example&amp;lt;\/a&amp;gt;\nd) &amp;lt;a target=&quot;https:\/\/www.example.com&quot;&amp;gt;Example&amp;lt;\/a&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">5. What is the use of the alt attribute in the img tag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To define the size of the image<br>b) To define the width of the image<br>c) To define a description of the image<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">6. Which is the correct way to define a paragraph in HTML?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;par&amp;gt;\nb) &amp;lt;pt&amp;gt;\nc) &amp;lt;p&amp;gt;\nd) &amp;lt;para&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">7. What is the use of the tag in HTML?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To define the main content of the webpage<br>b) To define the footer of the webpage<br>c) To define the title and meta information of the webpage<br>d) To define the body of the webpage<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">8. Which is the correct way to define a table in HTML?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;tbl&amp;gt;\nb) &amp;lt;tb&amp;gt;\nc) &amp;lt;table&amp;gt;\nd) &amp;lt;tab&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">9. Which tag defines the header of a table?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;thead&amp;gt;\nb) &amp;lt;th&amp;gt;\nc) &amp;lt;header&amp;gt;\nd) &amp;lt;table&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">10. Which tag defines a line break?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;br&amp;gt;\nb) &amp;lt;lb&amp;gt;\nc) &amp;lt;break&amp;gt;\nd) &amp;lt;new&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">11. Which tag is used to define a hyperlink?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;a&amp;gt;\nb) &amp;lt;h&amp;gt;\nc) &amp;lt;p&amp;gt;\nd) &amp;lt;b&amp;gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><a><br>d) <strong>Answer: a)<\/strong><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">12. Which tag is used to make text bold?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a)<br>b) <strong><br>c)<br>d) <strong>Answer: b)<\/strong><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">13. Which tag is used to define a form?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a)<br>b)<br>c)<br>d)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">14. Which attribute is used to define the type of input in the input tag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) value<br>b) type<br>c) name<br>d) id<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">15. Which input type is used for selecting multiple options?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) select<br>b) checkbox<br>c) radio<br>d) multi-select<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">16. Which tag is used for text input?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a)<br>b)<br>c)<br>d) Answer: d)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">17. What is the use of the label tag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To define a title for the webpage<br>b) To define a title for the form element<br>c) To define a caption for a table<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">18. Which attribute is used to define the width of a table?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) width<br>b) col<br>c) size<br>d) table-width<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">19. Which attribute is used to merge cells in a table?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) col<br>b) colspan<br>c) row<br>d) rowspan<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: d)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">20. Which tag is used to define a list item?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;ul&amp;gt;\nb) &amp;lt;ol&amp;gt;\nc) &amp;lt;li&amp;gt;\nd) &amp;lt;list&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">21. Which tag is used to create a dropdown list in a form?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;dropdown&amp;gt;\nb) &amp;lt;list&amp;gt;\nc) &amp;lt;select&amp;gt;\nd) &amp;lt;menu&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">22. Which attribute is used to define the height of an image?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) width<br>b) height<br>c) h<br>d) img-height<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">23. Which input type is used for radio buttons?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) select<br>b) checkbox<br>c) radio<br>d) multi-select<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">24. Which tag is used to define an ordered list?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;ul&amp;gt;\nb) &amp;lt;ol&amp;gt;\nc) &amp;lt;li&amp;gt;\nd) &amp;lt;list&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">25. Which attribute is used to define a link target in the a tag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) target<br>b) link<br>c) href<br>d) src<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">26. Which tag defines a horizontal line?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;hr&amp;gt;\nb) &amp;lt;line&amp;gt;\nc) &amp;lt;hline&amp;gt;\nd) &amp;lt;horz&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">27. Which tag is used to create a text area in a form?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;textarea&amp;gt;\nb) &amp;lt;input&amp;gt;\nc) &amp;lt;text&amp;gt;\nd) &amp;lt;area&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: a)&lt;\/h4&gt;<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">28. Which tag is used to define a text heading?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;title&amp;gt;\nb) &amp;lt;h&amp;gt;\nc) &amp;lt;head&amp;gt;\nd) &amp;lt;header&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">29. Which attribute is used to define a color in HTML?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) color<br>b) col<br>c) bgcolor<br>d) background<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">30. Which tag is used for italic text?<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\na) &amp;lt;italic&amp;gt;\nb) &amp;lt;i&amp;gt;\nc) &amp;lt;em&amp;gt;\nd) &amp;lt;italic-text&amp;gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">31. What does CSS stand for?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) Computer Style Sheets<br>b) Creative Style Sheets<br>c) Cascading Style Sheets<br>d) Colorful Style Sheets<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">32. Which property is used to change the background color in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) color<br>b) background-color<br>c) bgcolor<br>d) background<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">33. Which property is used to change the font size in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) font<br>b) font-size<br>c) text-size<br>d) size<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">34. Which property is used to set the border style in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) border<br>b) border-size<br>c) border-style<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">35. Which property is used to set the text color in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) text-color<br>b) color<br>c) font-color<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">36. Which property is used to center align text in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) center<br>b) text-center<br>c) align<br>d) text-align<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: d)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">37. Which property is used to set the text decoration in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) decoration<br>b) text-decoration<br>c) underline<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">38. Which property is used to set the display style in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) display<br>b) style<br>c) visibility<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">39. Which property is used to set the margin in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) margin<br>b) margin-size<br>c) size<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">40. Which property is used to set the padding in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) padding<br>b) padding-size<br>c) size<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">41. Which property is used to set the text alignment in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) align<br>b) text-align<br>c) center<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">42. Which property is used to set the font-family in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) family<br>b) font<br>c) font-family<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">43. Which property is used to set the font-style in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) style<br>b) font-style<br>c) font-family<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">44. Which property is used to set the font-weight in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) weight<br>b) font-weight<br>c) font-size<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">45. Which property is used to set the background image in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) background-image<br>b) background<br>c) image<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">46. Which property is used to set the text transform in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) transform<br>b) text-transform<br>c) None of the above<br>d) Both a and b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">47. Which property is used to set the font variant in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) variant<br>b) font-variant<br>c) None of the above<br>d) Both a and b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: b)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">48. What is the use of the float property in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To position an element<br>b) To adjust the font size<br>c) To set the background color<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: a)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">49. What is the use of the z-index property in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To set the width of an element<br>b) To set the height of an element<br>c) To set the position of an element<br>d) To set the stacking order of an element<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: d)<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">50. What is the use of the position property in CSS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">a) To set the color of an element<br>b) To set the visibility of an element<br>c) To set the position of an element<br>d) None of the above<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Answer: c)<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>1. What does HTML stand for? a) Hyper Text Markup Languageb) Higher Text Markup Languagec) Hyperspace Text Markup Languaged) Home [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4864],"tags":[],"class_list":["post-10085","post","type-post","status-publish","format-standard","hentry","category-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Top 50 HTML Interview Questions with Answers - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 50 HTML Interview Questions with Answers - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"1. What does HTML stand for? a) Hyper Text Markup Languageb) Higher Text Markup Languagec) Hyperspace Text Markup Languaged) Home [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100003935402658\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-29T13:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-19T13:30:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png\" \/>\n<meta name=\"author\" content=\"Ashwani Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashwani Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/\"},\"author\":{\"name\":\"Ashwani Kumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"headline\":\"Top 50 HTML Interview Questions with Answers\",\"datePublished\":\"2023-04-29T13:02:00+00:00\",\"dateModified\":\"2023-06-19T13:30:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/\"},\"wordCount\":983,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/image.png\",\"articleSection\":[\"HTML\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/\",\"name\":\"Top 50 HTML Interview Questions with Answers - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/image.png\",\"datePublished\":\"2023-04-29T13:02:00+00:00\",\"dateModified\":\"2023-06-19T13:30:01+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/image.png\",\"width\":1000,\"height\":450},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/top-50-html-interview-questions-with-answers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Top 50 HTML Interview Questions with Answers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\",\"name\":\"Ashwani Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"caption\":\"Ashwani Kumar\"},\"description\":\"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100003935402658\",\"https:\\\/\\\/www.instagram.com\\\/adarshashwani\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/adarsh-ashwani-a75b23130\\\/\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/ashwani\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top 50 HTML Interview Questions with Answers - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/","og_locale":"en_US","og_type":"article","og_title":"Top 50 HTML Interview Questions with Answers - scmGalaxy","og_description":"1. What does HTML stand for? a) Hyper Text Markup Languageb) Higher Text Markup Languagec) Hyperspace Text Markup Languaged) Home [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/","og_site_name":"scmGalaxy","article_author":"https:\/\/www.facebook.com\/profile.php?id=100003935402658","article_published_time":"2023-04-29T13:02:00+00:00","article_modified_time":"2023-06-19T13:30:01+00:00","og_image":[{"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png","type":"","width":"","height":""}],"author":"Ashwani Kumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ashwani Kumar","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/"},"author":{"name":"Ashwani Kumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"headline":"Top 50 HTML Interview Questions with Answers","datePublished":"2023-04-29T13:02:00+00:00","dateModified":"2023-06-19T13:30:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/"},"wordCount":983,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png","articleSection":["HTML"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/","name":"Top 50 HTML Interview Questions with Answers - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png","datePublished":"2023-04-29T13:02:00+00:00","dateModified":"2023-06-19T13:30:01+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2023\/05\/image.png","width":1000,"height":450},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/top-50-html-interview-questions-with-answers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Top 50 HTML Interview Questions with Answers"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31","name":"Ashwani Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","caption":"Ashwani Kumar"},"description":"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.","sameAs":["https:\/\/www.facebook.com\/profile.php?id=100003935402658","https:\/\/www.instagram.com\/adarshashwani\/","https:\/\/www.linkedin.com\/in\/adarsh-ashwani-a75b23130\/"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/ashwani\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/10085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=10085"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/10085\/revisions"}],"predecessor-version":[{"id":10095,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/10085\/revisions\/10095"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=10085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=10085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=10085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}