arrow_back Back to Curriculum
code_blocks

HTML5 & CSS3

Semantic DOM structure, Accessibility (A11y), Flexbox/Grid systems, and browser behavior fundamentals.

Interview Questions

4 Total
Q1.

What does Semantic HTML mean and why is it important?

Easy

Semantic HTML refers to using HTML markup that reinforces the meaning of the information (e.g., `<article>`, `<header>`, `<nav>`). It is crucial for SEO, accessibility, and machine readability.

Q2.

Explain the difference between Flexbox and CSS Grid.

Medium

Flexbox is a one-dimensional layout system used for aligning items along a single row or column. CSS Grid is a two-dimensional layout system designed for complex layouts over both rows and columns simultaneously.

Q3.

What is the CSS Box Model?

Easy

The CSS Box Model describes rectangular boxes generated for elements in the document tree. It consists of: Content area, Padding area, Border area, and Margin area.

Q4.

What is Specificity in CSS?

Hard

Specificity is the algorithm used by browsers to determine which CSS rule should be applied if multiple competing rules match the same element. In-line styles > IDs > Classes > Elements.