HTML interview questions
Use these HTML interview questions to test candidates’ knowledge on HTML.
Examples of HTML interview questions
● What’s your experience with HTML?
● Please walk us through the HTML code you wrote in the assessment we gave you.
● What do you like about HTML?
● What do you dislike about HTML?
● Tell me about your experience with HTML, CSS and JavaScript.
● What templating languages have you used with HTML?
● What would you change in our website to improve performance and user experience?
● Is HTML validation part of your development process? What do you pay attention to?
● What do we use semantic elements for? Can you give us examples?
● What are the main new elements in HTML5?
● How would embed an audio and video file in an HTML document?
● What would you use the <canvas> element for and how is it different from <svg>?
● What tag would you use to link to a CSS file and a JS file? Where would you place that
tag and why?
● What does the <!DOCTYPE HTML> do? What if you don’t use it?
● How do you ensure readability of HTML?
● What’s your experience with custom data attributes?
● What are the empty elements and what’s the purpose of each?
● What’s the difference between standards mode and quirks mode?
● Describe how we can get the location of a user with HTML5.
● How have you used HTML5 Web Storage?
● Why are Server-Side Events useful and how would you use them?
● Are you familiar with accessibility rules? Give us some examples.
● If you had to load external fonts to your website, how would you do that? What’s the best
practice performance-wise?
● Have you worked with svgs before? How do you use them in your code? What are their
benefits, if any? What are the differences between svg files and image files?
● What do you take into account for mobile versions? Do you use a ready framework for
grid?
● What tools do you use to check browser compatibility? What browsers do you take into
account while building websites?