Frontend 路 Intern to senior

HTML Interview Questions and Answers

HTML questions in interviews are rarely about tags alone. They test whether you understand how the browser loads, parses and renders a page, and how that affects accessibility and performance.

3 of 5 questions match

Clear filters
  • HTMLMedium

    What is the difference between async and defer on script tags?

    Both download the script without blocking HTML parsing. defer waits until parsing finishes and runs scripts in document order; async runs a script as soon as it is downloaded, which can be before or after parsing and in any order.

    Mid-level 路 Senior 路 Browser & DOM
  • HTMLMedium

    How does the browser render a web page?

    The browser parses HTML into a DOM and CSS into a CSSOM, combines them into a render tree, computes layout (reflow), paints pixels and composites layers onto the screen.

    Mid-level 路 Senior 路 Browser & DOM
  • HTMLHard

    What are Core Web Vitals and how do you improve them?

    Core Web Vitals are Google鈥檚 field metrics for real-user experience: LCP (loading), INP (interactivity) and CLS (visual stability). They influence search ranking and are measured on real devices, not only Lighthouse.

    Senior 路 Performance