Abekus — AI learning and job matching platform logo

HTML & CSS for Frontend Interviews

  • 147 lessons
  • About 24 hours
  • Self-paced
  • Certificate on completion
0%Complete
Guided Mode

Start with lesson 1

147 lessons. The first one is free, no signup needed.

🗺️ Your learning path
HTML Document Structure
Semantic Elements
Head & Meta

What you'll learn

  • Write semantic, accessible HTML — document structure, semantic elements, head/meta, and the choices that affect both SEO and screen readers.
  • Build accessible forms — form structure, input types and their built-in behaviour, labels, validation states, and the keyboard/screen-reader contract.
  • Embed media correctly — responsive images, audio and video, picture and srcset, and the trade-offs around iframes and embedded content.
  • Apply ARIA the right way — when semantic HTML is enough, when ARIA attributes are needed, and how keyboard and focus management complete the picture.
  • Reason about CSS selectors and the cascade — selector types, pseudo-classes and pseudo-elements, specificity calculations, and the source-order tiebreaker.
  • Master the box model and display — content/padding/border/margin, box-sizing, the display property, and the overflow and sizing edge cases.
  • Untangle positioning and stacking — static/relative/absolute/fixed/sticky, what creates a stacking context, and how float and BFC interact with the rest.
  • Lay out with Flexbox and CSS Grid — container and item properties, alignment, the trickier behaviours (auto-margins, intrinsic sizing, implicit tracks), and when to use which.
  • Build responsive layouts — media queries, responsive units (rem, em, vw, vh, ch), and the patterns interviewers expect (mobile-first, fluid typography, container queries).
  • Use modern CSS confidently — custom properties, modern features (:has(), logical properties, clamp()), animations and transitions — and apply them together under realistic constraints.

About this course

HTML & CSS for Frontend Interviews is an MCQ-based course on Abekus, built around the HTML and CSS questions that actually come up in frontend interview rounds. It packs 2,300+ practice questions across 12 topics — from document structure and ARIA through Flexbox, Grid, stacking contexts, and modern CSS features. Every wrong answer triggers an instant explanation, so the rule behind the right answer sticks the first time.

A general HTML/CSS tutorial teaches the syntax. This course drills the parts interviewers test: "what's the specificity of a.btn:hover?", "why does this absolutely-positioned element ignore its parent?", "name three things that create a new stacking context", "when does Flexbox give you what you want and when do you reach for Grid?". The questions are picked for how often candidates get them wrong — not for how foundational they are.

Jobs that ask for HTML & CSS

145 live openings list HTML & CSS as a required skill.

See all HTML & CSS jobs ›

Frequently asked questions