Made with Palestinian hands Support EmuPath ☕

No results found.

Try another search or remove some filters.

All practice exams
Web Development / FOUR DIFFICULTY LEVELS

HTML, CSS & Accessibility

Practice semantic HTML, forms, responsive layouts, CSS behavior and accessible interaction.

Four self-study difficulty levels, from basic concepts to advanced scenarios. Difficulty is an editorial guide, not an official certification ranking. Modern standards-based HTML and CSS in ordinary web pages. Accessibility questions use practical semantics and interaction behavior, not a claim of legal certification.

YOUR PRACTICE SPACE

Learn it. Test it. Understand it.

Choose your difficulty

Recognize core concepts and trace a single step.

10 questions in Easy · one answer per question · no timer

Choose a mode

Free, no account needed. Answers stay in this tab and reset on reload. This is self-study, not a proctored exam or certificate.

Choose the right challenge

Easy checks core concepts. Medium applies them to tasks. Hard examines edge cases and failure modes. Very advanced combines constraints such as concurrency, security and recovery. Start where you are comfortable; each level has its own attempt and result. These labels are editorial, not certification grades.

What you will learn

  • Choose semantic controls and meaningful form labeling.
  • Reason about box sizing, layout, the cascade and responsive behavior.
  • Preserve keyboard access, reading order and understandable feedback.

Think through a real scenario

A clickable card is implemented as a div with a mouse handler, but keyboard users cannot activate it. If the action navigates to another page, use a real link with an href; if it changes the current interface, use a button. Styling can make either fit the design. Native semantics provide useful behavior, but a clear accessible name and visible focus are still needed.

Turn your result into a study plan

For each missed question, write down the rule you overlooked and test it with a small example. Avoid memorizing an option’s position: understanding the behavior matters more than recognizing the wording. In exam mode explanations stay hidden until you submit; in practice mode use “Check answer” to see feedback immediately.

Read further

The questions and explanations are original EmuPath teaching material. These references provide background for further study; their publishers do not endorse this exam.

Found an ambiguous question? Include the track and question text in your correction report.

Sample HTML, CSS & Accessibility questions with explanations

Preview one question from each difficulty level before choosing a practice session. These examples also appear in the question bank. Try answering first, then open the explanation to check your reasoning.

Easy: Links

Which element is normally appropriate for navigation to another URL?

  1. An anchor with an href
  2. A div with only a click handler
  3. A span with a bold font
  4. A label with a URL as its color
Show answer and explanation

An anchor with an href

A real link expresses navigation and provides native keyboard and browser behavior. Visual styling alone does not give a generic element the same semantics.

Medium: Sizing

With box-sizing: border-box, what does a specified width include?

  1. Content, padding and border, but not margin
  2. Only content
  3. Content and margin but never padding
  4. Every neighboring element
Show answer and explanation

Content, padding and border, but not margin

Border-box includes padding and border in the specified size. Margins remain outside that box, which is useful when calculating available layout space.

Hard: Cascade

Within the same origin, importance and cascade layer, two matching rules have equal specificity. What normally breaks the tie?

  1. Later source order
  2. Alphabetical property order
  3. The shorter selector text
  4. The file with the smaller byte size
Show answer and explanation

Later source order

After the earlier cascade criteria tie, source order decides between the declarations. Specificity is only one stage of the cascade, not the sole rule for all conflicts.

Very advanced: Modal focus

What focus behavior is expected for a modal dialog while it is active?

  1. Focus moves inside, keyboard navigation stays within it, and closing restores a sensible target
  2. Keyboard focus must always remain on the background page
  3. Closing must erase all user input across the site
  4. All dialog controls must have positive tabindex values
Show answer and explanation

Focus moves inside, keyboard navigation stays within it, and closing restores a sensible target

A modal interaction needs coherent focus management and an appropriate return location. The background must not remain an unintended keyboard destination while the modal is active.