Can you sit the HTML & CSS Certification today?
Five questions, one per area of the syllabus. Nothing is recorded, no account needed. At the end you'll see a predicted band — likely to pass, borderline, or not ready yet — plus the correct answer and a short explanation for each question.
- Question 1 of 5Forms
A form has an input marked `required`, and it is submitted while that field is empty, with no custom JavaScript validation on the page. What happens?
- Question 2 of 5The box model and sizing units
Two sibling `<p>` elements in normal flow: the first has `margin-bottom: 20px`, the second has `margin-top: 30px`, with nothing else (no border, padding or content) between them. What is the actual vertical gap between them?
- Question 3 of 5Custom properties, shadows and gradients
In `box-shadow: 0 -4px 6px rgba(0,0,0,0.2);`, which direction does the shadow appear relative to the box?
- Question 4 of 5Selectors, specificity and the cascade
What does the selector `h2 + p` match?
- Question 5 of 5Grid and positioning
An item has `grid-column: 2 / 4;` set. What does that place it as?
5 questions left
This diagnostic is a self-assessment. It doesn't grant any entitlement to the paid sitting, nothing is saved against your account, and refreshing starts fresh. The paid exam is 60 questions in 140 minutes at 70% — denser and harder than what you just saw.