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
Contact Form
Build a contact form which submits user feedback and contact details to a back end API
Available frameworks
Digital Clock
Build a 7-segment digital clock that shows the current time
Available frameworks
getElementsByTagName
Implement a function to get all DOM elements that match a tag
Languages
HTML
JS
TS
Coding
Quiz
Coding Format
User Interface
JavaScript Utilities
Search coding questions
Sort by
Number of questions
11 questions
Total time
5 hours total
Questions List
jQuery.css
Implement a jQuery-like function that sets the style of a DOM element
Difficulty
Easy
Languages
HTML
CSS
JS
TS
Users completed
2343 completed
New
getElementsByStyle
Implement a function to get all DOM elements that are rendered using the specified style
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
67 completed
getElementsByTagName
Implement a function to get all DOM elements that match a tag
Difficulty
Medium
Languages
HTML
JS
TS
Users completed
1549 completed
HTML Serializer
Implement a function to serialize an object into an HTML string with indentation
Difficulty
Medium
Languages
HTML
JS
TS
Users completed
415 completed
Identical DOM Trees
Implement a function to determine if two DOM trees are the same
Difficulty
Medium
Languages
HTML
JS
TS
Users completed
822 completed
jQuery Class Manipulation
Implement a set of jQuery-like functions that manipulates classes on a DOM element
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
577 completed
Text Search
Implement a function to highlight text if a searched term appears within it
Difficulty
Medium
Languages
HTML
JS
TS
Users completed
730 completed
getElementsByClassName
Implement a function to get all DOM elements that contain the specified classes
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
790 completed
Text Search II
Implement a function to highlight text if searched terms appear within it
Difficulty
Medium
Languages
HTML
JS
TS
Users completed
268 completed
New
getElementsByTagNameHierarchy
Implement a function to get all DOM elements that match a tag hierarchy
Difficulty
Hard
Languages
HTML
JS
TS
Users completed
14 completed
Table of Contents
Implement a function to construct a table of contents from an HTML document
Difficulty
Hard
Languages
HTML
JS
TS
Users completed
248 completed