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
1845 completed
Describe the difference between `<script>`, `<script async>` and `<script defer>`
Importance
High
Topics
HTML
JAVASCRIPT
Users completed
3487 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
1849 completed
Describe event bubbling in JavaScript and browsers
Importance
High
Topics
JAVASCRIPT
HTML
Users completed
1849 completed
Describe event capturing in JavaScript and browsers
Importance
High
Topics
JAVASCRIPT
HTML
Users completed
368 completed
What kind of things must you be wary of when designing or developing for multilingual sites?
Importance
Mid
Topics
HTML
INTERNATIONALIZATION
Users completed
813 completed
How do you serve a page with content in multiple languages?
Importance
Mid
Topics
HTML
INTERNATIONALIZATION
Users completed
684 completed
What are `data-` attributes good for?
Importance
Mid
Topics
HTML
TESTING
Users completed
784 completed
What is progressive rendering?
Importance
Mid
Topics
HTML
Users completed
644 completed
Why you would use a `srcset` attribute in an image tag?
Importance
Mid
Topics
HTML
Users completed
638 completed
Explain what a single page app is and how to make one SEO-friendly
Importance
Mid
Topics
JAVASCRIPT
HTML
Users completed
709 completed
What's the difference between an "attribute" and a "property" in the DOM?
Importance
Mid
Topics
JAVASCRIPT
HTML
Users completed
616 completed
Consider HTML5 as an open web platform. What are the building blocks of HTML5?
Importance
Low
Topics
HTML
Users completed
456 completed
What does a `DOCTYPE` do?
Importance
Low
Topics
HTML
Users completed
539 completed
What is the difference between `mouseenter` and `mouseover` event in JavaScript and browsers?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
44 completed
Difference between document `load` event and document `DOMContentLoaded` event?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
468 completed
Explain the difference between `document.querySelector()` and `document.getElementById()`
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
33 completed
How do `<iframe>` on a page communicate?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
30 completed
How do you add, remove, and modify HTML elements using JavaScript?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
33 completed
What is the difference between `event.preventDefault()` and `event.stopPropagation()`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
35 completed
What is the difference between `innerHTML` and `textContent`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
33 completed
What is the DOM and how is it structured?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
37 completed
When would you use `document.write()`?
Importance
Low
Topics
JAVASCRIPT
HTML
Users completed
417 completed