Enjoy 20% off all plans by
following us on social media
. Check out other
promotions
!
Dismiss
Interviews
Dashboard
Practice questions
Guides
Pricing
Sign in / up
Get full access
Practice by Framework
90+ questions
JavaScript
HTML
CSS
React
Angular
Vue
Svelte
HTML Questions
90+ HTML interview questions, including quiz-style knowledge questions and HTML coding questions.
Try these popular HTML questions
Describe event bubbling in JavaScript and browsers
Topics
JAVASCRIPT
HTML
Describe event capturing in JavaScript and browsers
Topics
JAVASCRIPT
HTML
Describe the difference between `<script>`, `<script async>` and `<script defer>`
Topics
HTML
JAVASCRIPT
Coding
Quiz
Topic
JavaScript
CSS
HTML
Accessibility
Internationalization
Performance
Network
Security
Testing
Search quiz questions
Sort by
Number of questions
23 questions
Total time
2 hours total
Questions List
Explain event delegation in JavaScript
Importance
High
Topics
JAVASCRIPT
HTML
Users completed
1954 completed
Describe the difference between `<script>`, `<script async>` and `<script defer>`
Importance
High
Topics
HTML
JAVASCRIPT
Users completed
3564 completed
Why is it generally a good idea to position CSS `<link>`s between `<head></head>` and JS `<script>`s just before `</body>`?
Importance
High
Topics
HTML
PERFORMANCE
Users completed
1914 completed
Describe event bubbling in JavaScript and browsers
Importance
High
Topics
JAVASCRIPT
HTML
Users completed
1916 completed
Describe event capturing in JavaScript and browsers
Importance
High
Topics
JAVASCRIPT
HTML
Users completed
441 completed
What kind of things must you be wary of when designing or developing for multilingual sites?
Importance
Mid
Topics
HTML
INTERNATIONALIZATION
Users completed
844 completed
How do you serve a page with content in multiple languages?
Importance
Mid
Topics
HTML
INTERNATIONALIZATION
Users completed
715 completed
What are `data-` attributes good for?
Importance
Mid
Topics
HTML
TESTING
Users completed
811 completed
What is progressive rendering?
Importance
Mid
Topics
HTML
Users completed
674 completed
Why you would use a `srcset` attribute in an image tag?
Importance
Mid
Topics
HTML
Users completed
665 completed
Explain what a single page app is and how to make one SEO-friendly
Importance
Mid
Topics
JAVASCRIPT
HTML
Users completed
732 completed
What's the difference between an "attribute" and a "property" in the DOM?
Importance
Mid
Topics
JAVASCRIPT
HTML
Users completed
638 completed
Consider HTML5 as an open web platform. What are the building blocks of HTML5?
Importance
Low
Topics
HTML
Users completed
475 completed
What does a `DOCTYPE` do?
Importance
Low
Topics
HTML
Users completed
563 completed
What is the difference between `mouseenter` and `mouseover` event in JavaScript and browsers?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
75 completed
Difference between document `load` event and document `DOMContentLoaded` event?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
486 completed
Explain the difference between `document.querySelector()` and `document.getElementById()`
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
60 completed
How do `<iframe>` on a page communicate?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
54 completed
How do you add, remove, and modify HTML elements using JavaScript?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
55 completed
What is the difference between `event.preventDefault()` and `event.stopPropagation()`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
56 completed
What is the difference between `innerHTML` and `textContent`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
54 completed
What is the DOM and how is it structured?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
60 completed
When would you use `document.write()`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
435 completed