{"id":1672,"date":"2023-11-24T06:45:56","date_gmt":"2023-11-24T06:45:56","guid":{"rendered":"https:\/\/www.hirist.tech\/blog\/?p=1672"},"modified":"2025-06-13T05:54:42","modified_gmt":"2025-06-13T05:54:42","slug":"top-25-html-css-javascript-interview-questions-and-answers","status":"publish","type":"post","link":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/","title":{"rendered":"Top 40+ HTML CSS JavaScript Interview Questions and Answers"},"content":{"rendered":"\n<p>Are you ready to take your&nbsp;web development&nbsp;skills to the next level and land that dream job in the tech world?&nbsp;Well, you&#8217;ve come to the right place!&nbsp;We&#8217;ve compiled the ultimate cheat sheet for your HTML, CSS, and JavaScript interviews.&nbsp;In this article, we&#8217;ll explore the top 40+&nbsp;<strong>HTML CSS JavaScript interview questions and answers<\/strong>.<\/p>\n\n\n\n<p>Whether you&#8217;re a fresher or an experienced developer, we&#8217;ve got you covered.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_CSS_JavaScript_Interview_Questions_for_Freshers\" title=\"HTML CSS JavaScript Interview Questions for Freshers\">HTML CSS JavaScript Interview Questions for Freshers<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_Interview_Questions_and_Answers\" title=\"HTML Interview Questions and Answers\">HTML Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#CSS_Interview_Questions_and_Answers\" title=\"CSS Interview Questions and Answers\">CSS Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#JavaScript_Interview_Questions_and_Answers\" title=\"JavaScript Interview Questions and Answers\">JavaScript Interview Questions and Answers<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_CSS_JavaScript_Interview_Questions_for_Experienced\" title=\"HTML CSS JavaScript Interview Questions for Experienced\">HTML CSS JavaScript Interview Questions for Experienced<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_Interview_Questions_and_Answers-2\" title=\"HTML Interview Questions and Answers\">HTML Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#CSS_Interview_Questions_and_Answers-2\" title=\"CSS Interview Questions and Answers\">CSS Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#JavaScript_Interview_Questions_and_Answers-2\" title=\"JavaScript Interview Questions and Answers\">JavaScript Interview Questions and Answers<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_CSS_JavaScript_Viva_Questions\" title=\"HTML CSS JavaScript Viva Questions\">HTML CSS JavaScript Viva Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_Viva_Questions_and_Answers\" title=\"HTML Viva Questions and Answers\">HTML Viva Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#CSS_Viva_Questions_and_Answers\" title=\"CSS Viva Questions and Answers\">CSS Viva Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#JavaScript_Viva_Questions_and_Answers\" title=\"JavaScript Viva Questions and Answers\">JavaScript Viva Questions and Answers<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#HTML_CSS_JavaScript_Multiple_Choice_Questions_and_Answers\" title=\"HTML CSS JavaScript Multiple Choice Questions and Answers\">HTML CSS JavaScript Multiple Choice Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#Why_Should_You_Learn_HTML_CSS_and_JavaScript_Interview_Questions\" title=\"Why Should You Learn HTML CSS and JavaScript Interview Questions?\">Why Should You Learn HTML CSS and JavaScript Interview Questions?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_CSS_JavaScript_Interview_Questions_for_Freshers\"><\/span>HTML CSS JavaScript Interview Questions for Freshers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some of the most important&nbsp;<strong>HTML&nbsp;CSS JavaScript interview questions<\/strong>&nbsp;and answers for freshers:&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_Interview_Questions_and_Answers\"><\/span>HTML Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol>\n<li><strong>What is HTML, and what does it stand for?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>HTML stands for HyperText Markup Language. It\u2019s a standard markup language used to create web pages.<\/p>\n\n\n\n<ol start=\"2\">\n<li><strong>What is the basic structure of an HTML document?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>An HTML document typically starts with &lt;!DOCTYPE html&gt; and contains &lt;html&gt;, &lt;head&gt;, and &lt;body&gt; tags.<\/p>\n\n\n\n<ol start=\"3\">\n<li><strong>What are HTML elements and tags?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>HTML elements are the building blocks of web pages, and tags are used to define and format elements. For example, &lt;p&gt; defines a paragraph.<\/p>\n\n\n\n<ol start=\"4\">\n<li><strong>Explain the difference between &lt;div&gt; and &lt;span&gt; elements.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>&lt;div&gt; is a block-level element used for grouping content, while &lt;span&gt; is an inline-level element used to apply styles to a portion of text.<\/p>\n\n\n\n<ol start=\"5\">\n<li><strong>What is the purpose of the HTML id and class attributes?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The id attribute is used to uniquely identify an element, while the class attribute is used to group elements that share a common styling or behaviour.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS_Interview_Questions_and_Answers\"><\/span>CSS Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"6\">\n<li><strong>What does CSS stand for, and why is it important in web development?<\/strong><\/li>\n<\/ol>\n\n\n\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/CSS\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">CSS<\/a>&nbsp;stands for Cascading Style Sheets. It\u2019s crucial for controlling the presentation and layout of web pages, making them visually appealing.<\/p>\n\n\n\n<ol start=\"7\">\n<li><strong>How do you link an external CSS file to an HTML document?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>You can link an external CSS file using the &lt;link&gt; element in the HTML document\u2019s &lt;head&gt; section.<\/p>\n\n\n\n<ol start=\"8\">\n<li><strong>Explain the difference between padding and margin in CSS.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Padding is the space inside an element, while margin is the space outside of it. Padding affects the content area, while the margin affects the element\u2019s positioning in the layout.<\/p>\n\n\n\n<ol start=\"9\">\n<li><strong>What is the difference between the class and id selectors in CSS?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>A class selector is used to target multiple elements with the same class, while an id selector targets a unique element. You can use a class on multiple elements, but an id should be unique.<\/p>\n\n\n\n<ol start=\"10\">\n<li><strong>How do you centre an element horizontally in CSS?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>To centre an element horizontally, you can set its margin to auto and specify a width.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"JavaScript_Interview_Questions_and_Answers\"><\/span><strong>JavaScript Interview Questions and Answers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"11\">\n<li><strong>What is JavaScript, and how is it different from HTML and CSS?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>JavaScript is a programming language used for adding interactivity and dynamic behaviour to web pages, while HTML is for structure and CSS is for styling.<\/p>\n\n\n\n<ol start=\"12\">\n<li><strong>How do you declare a variable in JavaScript?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>You can declare a variable using var, let, or const. For example, let myVar = 5.<\/p>\n\n\n\n<ol start=\"13\">\n<li><strong>Explain the difference between null and undefined in JavaScript.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Null represents an intentional absence of any object value, while undefined signifies a variable that has been declared but hasn\u2019t been assigned a value.<\/p>\n\n\n\n<ol start=\"14\">\n<li><strong>What is a function in JavaScript, and how do you define one?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>A function is a reusable block of code. You can define one using the&nbsp;<strong>function<\/strong>&nbsp;keyword, for example, function myFunction() { \u2026 }.<\/p>\n\n\n\n<ol start=\"15\">\n<li><strong>How do you add an event listener to an HTML element in JavaScript?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>You can use the addEventListener method to attach an event listener to an element. For example, element.addEventListener(\u2018click\u2019, myFunction);.<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read -&nbsp;<a href=\"https:\/\/www.hirist.tech\/blog\/top-20-react-native-interview-questions-with-expert-answers\/\" target=\"_blank\" rel=\"noreferrer noopener\">Top 20 React Native Interview Questions With Expert Answers<\/a><\/strong><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_CSS_JavaScript_Interview_Questions_for_Experienced\"><\/span><strong>HTML CSS JavaScript Interview Questions for Experienced<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some of the most important&nbsp;<strong>HTML CSS JS interview questions<\/strong>&nbsp;and answers for freshers:&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_Interview_Questions_and_Answers-2\"><\/span><strong>HTML Interview Questions and Answers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"16\">\n<li><strong>Explain the purpose and usage of HTML5 semantic elements.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>HTML5 introduced semantic elements like &lt;header&gt;, &lt;nav&gt;, and &lt;section. They provide better structure and help improve accessibility and SEO.<\/p>\n\n\n\n<ol start=\"17\">\n<li><strong>What is the significance of the data &#8211; attribute in HTML?<\/strong><\/li>\n<\/ol>\n\n\n\n<p><strong>The data- attribute<\/strong>&nbsp;is used to store custom data private to the page or application. It\u2019s often used for JavaScript to access data associated with an element.<\/p>\n\n\n\n<ol start=\"18\">\n<li><strong>How does the &lt;iframe&gt; tag work, and what are its common use cases?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>&lt;iframe&gt; is used to embed content from another source within a web page. Common uses include embedding video maps or displaying external content.<\/p>\n\n\n\n<ol start=\"19\">\n<li><strong>What are the differences between HTML and XHTML?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>XHTML&nbsp;is a stricter, XML-based version of HTML. It enforces well-formedness, uses lowercase tags, and requires all elements to be properly nested and closed.<\/p>\n\n\n\n<ol start=\"20\">\n<li><strong>Explain the purpose of the aria-* attributes in HTML and their role in web accessibility.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>aria-* attributes provide accessibility information to assistive technologies. They help make web content more accessible to people with disabilities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS_Interview_Questions_and_Answers-2\"><\/span>CSS Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"21\">\n<li><strong>What is the CSS Box Model, and how does it affect layout?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The CSS Box Model defines how elements are rendered in terms of content, padding, border, and margin. Understanding it is crucial for precise layout control.<\/p>\n\n\n\n<ol start=\"22\">\n<li><strong>Describe the CSS Flexbox and CSS Grid layout models and their use cases.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Flexbox is for one-dimensional layouts, like navigation bars. CSS Grid is for two-dimensional layouts, such as grids and complex page structures.<\/p>\n\n\n\n<ol start=\"23\">\n<li><strong>What are CSS pre-processors, and why are they used?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>CSS pre-processors like SASS and LESS extend CSS with variables, nesting, and functions, making stylesheets more maintainable and reusable.<\/p>\n\n\n\n<ol start=\"24\">\n<li><strong>Explain the concept of specificity in CSS.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Specificity determines which CSS rule is applied when there are conflicting rules. It\u2019s calculated based on selectors and the importance of selectors.<\/p>\n\n\n\n<ol start=\"25\">\n<li><strong>What is a responsive web design, and how do media queries contribute to it?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Responsive web design is the practice of designing web pages that adapt to different screen sizes. Media queries allow CSS to apply different styles based on screen characteristics like width.<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read - <a href=\"https:\/\/www.hirist.tech\/blog\/top-25-react-js-interview-questions-and-answers\/\" target=\"_blank\" rel=\"noreferrer noopener\">Top 25+ React JS Interview Questions and Answers<\/a><\/strong><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"JavaScript_Interview_Questions_and_Answers-2\"><\/span>JavaScript Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"26\">\n<li><strong>What are closures in JavaScript, and why are they useful?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Closures are functions that have access to their own scope and the outer function\u2019s scope. They\u2019re valuable for encapsulation and maintaining state.<\/p>\n\n\n\n<ol start=\"27\">\n<li><strong>Explain the differences between let, const, and var for variable declaration.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>let and const have block-level scope and are preferred over var. const is for constant values, while let is for variables that can be reassigned.<\/p>\n\n\n\n<ol start=\"28\">\n<li><strong>What is the event delegation in JavaScript, and why is it advantageous?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Event delegation involves attaching a single event listener to a common ancestor instead of individual elements. It\u2019s efficient for handling events on dynamically created or numerous elements.<\/p>\n\n\n\n<ol start=\"29\">\n<li><strong>How does asynchronous programming work in JavaScript, and what are Promises and async\/await?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Asynchronous programming in JavaScript is achieved using callbacks, Promises, and async\/await. Promises represent a future value, and async\/await simplifies asynchronous code.<\/p>\n\n\n\n<ol start=\"30\">\n<li><strong>Explain the concept of the \u201cthis\u201d keyword in JavaScript and how it behaves in different contexts.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>\u201cthis\u201d refers to the current object or context in JavaScript. Its value can vary in different contexts like global, object methods, and event handlers. Understanding \u201cthis\u201d behaviour is essential for writing reliable code.<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read - <a href=\"https:\/\/www.hirist.tech\/blog\/tier-2-cities-emerging-as-the-new-tech-cities-in-india\/\" target=\"_blank\" rel=\"noreferrer noopener\">IT Hub of India<\/a><\/strong><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_CSS_JavaScript_Viva_Questions\"><\/span><strong>HTML CSS JavaScript Viva Questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some of the most important HTML CSS JavaScript viva questions and answers:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_Viva_Questions_and_Answers\"><\/span>HTML Viva Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"31\">\n<li><strong>What is the difference between HTML and HTML5?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>HTML is the standard markup language used to create web pages, while HTML5 is the latest version of HTML with new features like semantic elements, native multimedia support, and improved form controls.<\/p>\n\n\n\n<ol start=\"32\">\n<li><strong>What is the purpose of the HTML5 &lt;video&gt; element?&nbsp;<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The &lt;video&gt; element is used to embed video content directly into an HTML document, allowing users to play video files directly within the browser without the need for third-party plugins.<\/p>\n\n\n\n<ol start=\"33\">\n<li><strong>How do you embed an image in an HTML document?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>To embed an image in an HTML document, you use the &lt;img&gt; element with the src attribute specifying the URL of the image file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS_Viva_Questions_and_Answers\"><\/span><strong>CSS Viva Questions and Answers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"34\">\n<li><strong>Explain the difference between inline and block elements in CSS.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Inline elements do not start on a new line and only occupy as much width as necessary, while block elements start on a new line and occupy the full width available.<\/p>\n\n\n\n<ol start=\"35\">\n<li><strong>What is the CSS float property used for?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The CSS float property is used to specify whether an element should be floated to the left or right within its containing element. This property is commonly used for creating layouts where elements float next to each other, such as in navigation menus or multi-column layouts.<\/p>\n\n\n\n<ol start=\"36\">\n<li><strong>What is the purpose of the z-index property in CSS?&nbsp;<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The z-index property determines the stacking order of elements along the z-axis (depth) on the webpage. Elements with a higher z-index value will appear above elements with a lower value.<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read -&nbsp;<\/strong><a href=\"https:\/\/www.hirist.tech\/blog\/how-to-write-marriage-leave-application-email-to-manager\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Write Marriage Leave Application Email to Manager<\/strong><\/a><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"JavaScript_Viva_Questions_and_Answers\"><\/span><strong>JavaScript Viva Questions and Answers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol start=\"37\">\n<li><strong>What is the role of JavaScript in web development?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>JavaScript is a scripting language used for adding interactivity and dynamic behaviour to web pages. It allows for client-side scripting, handling user interactions, and manipulating HTML and CSS.<\/p>\n\n\n\n<ol start=\"38\">\n<li><strong>What is the purpose of the JavaScript type of operator?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The type of operator is used to determine the data type of a variable or expression. It returns a string indicating the data type, such as \u201cnumber\u201d, \u201cstring\u201d, \u201cboolean\u201d, \u201cobject\u201d, \u201cfunction\u201d, or \u201cundefined\u201d.<\/p>\n\n\n\n<ol start=\"39\">\n<li><strong>How do you handle errors in JavaScript?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Errors in JavaScript can be handled using try\u2026catch blocks. Code that may throw an error is placed within the try block, and if an error occurs, it is caught and handled in the catch block. Additionally, you can use the throw statement to manually throw an error.<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read -&nbsp;<\/strong><a href=\"https:\/\/www.hirist.tech\/blog\/top-annual-performance-appraisal-interview-questions-and-answers\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Appraisal Interview<\/strong><\/a><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"HTML_CSS_JavaScript_Multiple_Choice_Questions_and_Answers\"><\/span>HTML CSS JavaScript Multiple Choice Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This section includes multiple-choice questions (MCQs) to help you quickly review key concepts in HTML, CSS, and JavaScript. These questions are designed to challenge your understanding and prepare you for real interview scenarios.<\/p>\n\n\n\n<ol start=\"40\">\n<li><strong>Which of the following is not a valid HTML tag?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) &lt;article&gt;<\/li>\n\n\n\n<li>B) &lt;header&gt;<\/li>\n\n\n\n<li>C) &lt;navigate&gt;<\/li>\n\n\n\n<li>D) &lt;section&gt;<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> C) &lt;navigate&gt;<\/p>\n\n\n\n<ol start=\"41\">\n<li><strong>What does the alt attribute in the &lt;img&gt; tag specify?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) The file path of the image<\/li>\n\n\n\n<li>B) The title of the image<\/li>\n\n\n\n<li>C) Alternate text for the image<\/li>\n\n\n\n<li>D) The width of the image<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> C) Alternate text for the image<\/p>\n\n\n\n<ol start=\"42\">\n<li><strong>Which CSS property is used to change the text color of an element?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) font-color<\/li>\n\n\n\n<li>B) color<\/li>\n\n\n\n<li>C) text-color<\/li>\n\n\n\n<li>D) text-style<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> B) color<\/p>\n\n\n\n<ol start=\"43\">\n<li><strong>In CSS, how do you select an element with an id of &#8220;header&#8221;?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) .header<\/li>\n\n\n\n<li>B) #header<\/li>\n\n\n\n<li>C) header<\/li>\n\n\n\n<li>D) *header<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> B) #header<\/p>\n\n\n\n<ol start=\"44\">\n<li><strong>Which JavaScript method is used to write content into an HTML document?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) document.write()<\/li>\n\n\n\n<li>B) console.log()<\/li>\n\n\n\n<li>C) window.alert()<\/li>\n\n\n\n<li>D) document.log()<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> A) document.write()<\/p>\n\n\n\n<ol start=\"45\">\n<li><strong>How can you add a comment in a JavaScript file?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) &lt;!&#8211; Comment &#8211;&gt;<\/li>\n\n\n\n<li>B) \/\/ Comment<\/li>\n\n\n\n<li>C) \/* Comment *\/<\/li>\n\n\n\n<li>D) Both B and C<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> D) Both B and C<\/p>\n\n\n\n<ol start=\"46\">\n<li><strong>What does the CSS z-index property control?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) Opacity of an element<\/li>\n\n\n\n<li>B) Visibility of an element<\/li>\n\n\n\n<li>C) Position of an element along the z-axis<\/li>\n\n\n\n<li>D) Alignment of text in an element<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> C) Position of an element along the z-axis<\/p>\n\n\n\n<ol start=\"47\">\n<li><strong>Which of the following is a correct way to declare a function in JavaScript?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) function: myFunction() {}<\/li>\n\n\n\n<li>B) function = myFunction() {}<\/li>\n\n\n\n<li>C) function myFunction() {}<\/li>\n\n\n\n<li>D) myFunction function() {}<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> C) function myFunction() {}<\/p>\n\n\n\n<ol start=\"48\">\n<li><strong>What is the default display value of a &lt;div&gt; element in HTML?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) inline<\/li>\n\n\n\n<li>B) block<\/li>\n\n\n\n<li>C) flex<\/li>\n\n\n\n<li>D) grid<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> B) block<\/p>\n\n\n\n<ol start=\"49\">\n<li><strong>Which property in CSS is used to make the text bold?<\/strong><\/li>\n<\/ol>\n\n\n\n<ul>\n<li>A) font-weight<\/li>\n\n\n\n<li>B) font-style<\/li>\n\n\n\n<li>C) text-decoration<\/li>\n\n\n\n<li>D) text-transform<\/li>\n<\/ul>\n\n\n\n<p><strong>Answer:<\/strong> A) font-weight<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>Also Read - <a href=\"https:\/\/www.hirist.tech\/blog\/top-40-javascript-interview-questions-answers-2024-hirist\/\" target=\"_blank\" rel=\"noreferrer noopener\">Top 60+ JavaScript Interview Questions and Answers<\/a><\/strong><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Should_You_Learn_HTML_CSS_and_JavaScript_Interview_Questions\"><\/span><strong>Why Should You Learn HTML CSS and JavaScript Interview Questions?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some reasons why you need to know&nbsp;<strong>interview questions on HTML CSS&nbsp;JavaScript<\/strong>:<\/p>\n\n\n\n<ul>\n<li>It will help you to impress your employers<\/li>\n\n\n\n<li>You can easily answer technical questions<\/li>\n\n\n\n<li>It will give you a competitive edge in the crowded job market<\/li>\n\n\n\n<li>It will open doors to higher-paying roles in web development<\/li>\n\n\n\n<li>You can easily ace your job interview<\/li>\n\n\n\n<li>It will help&nbsp;<a href=\"https:\/\/www.hirist.tech\/blog\/category\/inverview-advice\/\" target=\"_blank\" rel=\"noreferrer noopener\">ease interview anxiety<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Learning these top 40+&nbsp;<strong>HTML CSS and JavaScript interview questions<\/strong>&nbsp;gives you with essential skills to ace web development job interviews. If you\u2019re looking for&nbsp;<a href=\"https:\/\/www.hirist.tech\/?ref=blog\" target=\"_blank\" rel=\"noreferrer noopener\">front-end developer job opportunities<\/a>, look no further than&nbsp;<a href=\"https:\/\/www.hirist.com\/?ref=blog\" target=\"_blank\" rel=\"noreferrer noopener\">Hirist<\/a>. It is the number one online platform to find IT jobs. Your dream job awaits \u2013 start your journey with Hirist today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you ready to take your&nbsp;web development&nbsp;skills to the next level and land that dream&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1687,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,29,19],"tags":[57,85,32,34,56,33],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>40+ HTML CSS JavaScript Interview Questions &amp; Answers | Hirist<\/title>\n<meta name=\"description\" content=\"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.\" \/>\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.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"40+ HTML CSS JavaScript Interview Questions &amp; Answers | Hirist\" \/>\n<meta property=\"og:description\" content=\"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/\" \/>\n<meta property=\"og:site_name\" content=\"Hirist Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hirist.jobs\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-24T06:45:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-13T05:54:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1333\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"hiristBlog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hiristBlog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/\",\"url\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/\",\"name\":\"40+ HTML CSS JavaScript Interview Questions & Answers | Hirist\",\"isPartOf\":{\"@id\":\"https:\/\/www.hirist.tech\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg\",\"datePublished\":\"2023-11-24T06:45:56+00:00\",\"dateModified\":\"2025-06-13T05:54:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/f40a5a435d73195ec4e424a307b0c26b\"},\"description\":\"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage\",\"url\":\"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg\",\"contentUrl\":\"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg\",\"width\":2000,\"height\":1333,\"caption\":\"html css javascript interview questions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hirist.tech\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Top 40+ HTML CSS JavaScript Interview Questions and Answers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/#website\",\"url\":\"https:\/\/www.hirist.tech\/blog\/\",\"name\":\"Hirist Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hirist.tech\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/f40a5a435d73195ec4e424a307b0c26b\",\"name\":\"hiristBlog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1d0fb418cc48cd31b61160060c199240?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1d0fb418cc48cd31b61160060c199240?s=96&d=mm&r=g\",\"caption\":\"hiristBlog\"},\"sameAs\":[\"https:\/\/www.hirist.tech\/blog\"],\"url\":\"https:\/\/www.hirist.tech\/blog\/author\/hiristblog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"40+ HTML CSS JavaScript Interview Questions & Answers | Hirist","description":"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.","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.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/","og_locale":"en_US","og_type":"article","og_title":"40+ HTML CSS JavaScript Interview Questions & Answers | Hirist","og_description":"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.","og_url":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/","og_site_name":"Hirist Blog","article_publisher":"https:\/\/www.facebook.com\/hirist.jobs","article_published_time":"2023-11-24T06:45:56+00:00","article_modified_time":"2025-06-13T05:54:42+00:00","og_image":[{"width":2000,"height":1333,"url":"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg","type":"image\/jpeg"}],"author":"hiristBlog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hiristBlog","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/","url":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/","name":"40+ HTML CSS JavaScript Interview Questions & Answers | Hirist","isPartOf":{"@id":"https:\/\/www.hirist.tech\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage"},"image":{"@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg","datePublished":"2023-11-24T06:45:56+00:00","dateModified":"2025-06-13T05:54:42+00:00","author":{"@id":"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/f40a5a435d73195ec4e424a307b0c26b"},"description":"Prepare for your web development job interview with our comprehensive list of HTML CSS and JavaScript interview questions and answers.","breadcrumb":{"@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#primaryimage","url":"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg","contentUrl":"https:\/\/www.hirist.tech\/blog\/wp-content\/uploads\/2023\/12\/html-css-javascript-interview-questions.jpg","width":2000,"height":1333,"caption":"html css javascript interview questions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hirist.tech\/blog\/top-25-html-css-javascript-interview-questions-and-answers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hirist.tech\/blog\/"},{"@type":"ListItem","position":2,"name":"Top 40+ HTML CSS JavaScript Interview Questions and Answers"}]},{"@type":"WebSite","@id":"https:\/\/www.hirist.tech\/blog\/#website","url":"https:\/\/www.hirist.tech\/blog\/","name":"Hirist Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hirist.tech\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/f40a5a435d73195ec4e424a307b0c26b","name":"hiristBlog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hirist.tech\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1d0fb418cc48cd31b61160060c199240?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d0fb418cc48cd31b61160060c199240?s=96&d=mm&r=g","caption":"hiristBlog"},"sameAs":["https:\/\/www.hirist.tech\/blog"],"url":"https:\/\/www.hirist.tech\/blog\/author\/hiristblog\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/posts\/1672"}],"collection":[{"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/comments?post=1672"}],"version-history":[{"count":34,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/posts\/1672\/revisions"}],"predecessor-version":[{"id":7033,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/posts\/1672\/revisions\/7033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/media\/1687"}],"wp:attachment":[{"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/media?parent=1672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/categories?post=1672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hirist.tech\/blog\/wp-json\/wp\/v2\/tags?post=1672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}