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?
- <main>
- <div>
- <section>
- <article>
- <body>
Which HTML5 element best represents a self-contained piece of content like a blog post?
- <div>
- <aside>
- <article>
- <main>
- <section>
Which HTML5 element best represents content tangentially related to the main content (sidebar)?
- <nav>
- <footer>
- <section>
- <details>
- <aside>
Which HTML5 element best represents primary navigation links?
- <aside>
- <menu>
- <links>
- <header>
- <nav>
Which HTML attribute provides alternative text for an image, important for accessibility and SEO?
- desc
- title
- longdesc
- alt
- aria-label
Related categories
Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
JavaScript (Coding)
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
Security
General information security concepts — threats, defenses, and the fundamentals every IT professional should know.
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.