Resource · Guide or article
HTML Interview Questions (Quiz) for Front End Interviews
Answers the h5bp HTML interview questions in prose, aimed at front end candidates who want reference explanations for browser and markup fundamentals.
Reviewed
Open the original: HTML Interview Questions (Quiz) for Front End Interviews (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Answers to Front-end Job Interview Questions - HTML Questions. Pull requests for suggestions and corrections are welcome!
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Question list
What it covers
- DOCTYPE and how it switches between standards and quirks mode
- Serving multilingual pages with lang and hreflang, and pitfalls like concatenating translated strings
- Cookie, localStorage and sessionStorage compared in a table by expiry, capacity and scope
- Script loading with async and defer, CSS and script placement, and progressive rendering
- srcset selection worked through with numbers, plus canvas versus SVG and empty elements
How to use it
PrepKit study advice, not a claim made by the source.
Answer each heading aloud before reading the page, then check yourself. For script loading and srcset, build a small page and confirm the behavior in browser dev tools. Aim to explain async versus defer and the storage table without notes.
Scope and limitations
Some content is dated or opinion-based, such as the first-person templating answer and remarks on data- attributes being discouraged. The page points to a newer GreatFrontEnd version with referral tracking.
Access and format
Web page on frontendinterviewhandbook.com, free to read, in English. The text comes from the MIT-licensed front-end-interview-handbook repository.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 8e867581255f
Evidence behind this overview
- website/contents/html-questions.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.