Quizzes

HTML quizzes

Choose a quiz and test your understanding of a focused concept.

Can You Style Half a Character in CSS? Quiz on Split Text Effects

Test your understanding of CSS half-character text effects using overlays, clipping, gradients, and JavaScript for dynamic text.

HTML Autocomplete Attribute Quiz: Disable or Guide Browser Autofill

Test your understanding of HTML autocomplete: when to use off, when browsers ignore it, and when specific values improve UX.

HTML Legacy Color Parsing Quiz: Why Invalid Values Like chucknorris Still Render

Test your understanding of legacy HTML color parsing, browser error recovery, and why invalid values like chucknorris still show colors.

How to Change Placeholder Text Color in CSS Quiz

Test your knowledge of styling placeholder text in CSS using ::placeholder, legacy prefixes, common mistakes, and accessibility tips.

How to Change an Element's Class with JavaScript Quiz

Test your understanding of changing HTML element classes with JavaScript using className, classList, events, and common UI patterns.

How to Disable Textarea Resizing in CSS Quiz

Test your understanding of disabling textarea resizing in CSS with practical questions on resize, overflow, selectors, and real UI use cases.

How to Horizontally Center a div in CSS Quiz

Test your understanding of horizontal div centering in CSS with margin auto, Flexbox, Grid, common mistakes, and layout choices.

How to Set Table Cell Padding and Spacing in CSS Quiz

Test your understanding of replacing HTML table cellpadding and cellspacing with CSS using padding and border-spacing.

How to Validate an Email Address in JavaScript Quiz

Test your understanding of JavaScript email validation with regex, input type=email, trimming, server checks, and common mistakes.

JavaScript Links Quiz: href="#", javascript:void(0), or Button?

Test when to use links vs buttons in HTML, and why href="#" and javascript:void(0) are poor choices for JS-only actions.