HTML & CSS (Coding) Quiz

Markup and styling fundamentals — semantic HTML, the CSS box model, and layout behind every web page.

This category currently has 78 questions in the SERVBG quiz bank. Below are a few sample questions — the full interactive quiz shuffles through the whole set with instant scoring.

Sample questions

Which HTML5 element represents the primary content of a document and should appear once per page?
Which HTML5 element best represents a self-contained piece of content like a blog post?
Which HTML5 element best represents content tangentially related to the main content (sidebar)?
Which HTML5 element best represents primary navigation links?
Which HTML attribute provides alternative text for an image, important for accessibility and SEO?
Start the full quiz ›

Related categories

Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
187 questions
JavaScript (Coding)
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
186 questions
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
150 questions
Security
General information security concepts — threats, defenses, and the fundamentals every IT professional should know.
148 questions
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.
145 questions