foundation

HTML, CSS, and Browser Platform

Semantic markup, forms, layout, rendering pipeline, Web APIs, accessibility, and SEO basics.

Frontend interviews start with the rendering contract: HTML defines structure and behavior, CSS defines layout and visual constraints, and the browser executes parsing, layout, paint, compositing, and JavaScript on top of that contract.

Strong answers connect semantic markup to accessibility and SEO, explain when native elements beat custom widgets, and describe how layout choices affect performance. Child domains cover HTML semantics and forms, CSS layout and responsive design, and browser APIs, storage, and the rendering pipeline.

Checklist:

  • Tie markup choices to user, crawler, and assistive-tech behavior.
  • Compare layout tools by constraint, not popularity.
  • Name rendering phases when discussing performance.
  • Use child topics for HTML, CSS, and browser depth.