HTML and CSS Basics

By Devin Park · Updated Jun 2, 2026

Questions23
Passing Score70%
Format70% Multiple Choice
Sessions Logged2,028
Your progressLog in / Register to track times taken, best score, questions mastered, and coverage on this quiz.
Rating
Community rating 4.3 out of 5 from 13 ratings.
4.3 (13)

Topics covered

This quiz

Uncategorized23 (100%)

Uncategorized23 questions

Question catalog for this preview

Catalog listing of the 5 preview questions for this quiz.

Question 1

What does HTML stand for?

Answer choices

  • A. Hyperlink Text Markup Language

  • B. HyperText Markup Language

  • C. Home Tool Markup Language

  • D. HyperText Machine Language

Question 2

What is the correct way to include an external CSS stylesheet in an HTML document?

Answer choices

  • A. `<style src="styles.css"></style>` in the `<body>`

  • B. `<link rel="stylesheet" href="styles.css">` in the `<head>`

  • C. `<css href="styles.css">` anywhere in the document

  • D. `<script type="text/css" src="styles.css">` in the `<head>`

Question 3

Which CSS property controls the stacking order of positioned elements on a page?

Answer choices

  • A. `stack-order`

  • B. `layer`

  • C. `z-index`

  • D. `position-order`

Question 4

In CSS, what does the `:nth-child(2n+1)` selector match?

Answer choices

  • A. Only the second child element

  • B. Every even-numbered child element

  • C. Every odd-numbered child element (1st, 3rd, 5th, etc.)

  • D. Children that are more than 2 levels deep

Question 5

Which HTML element defines the largest (most important) heading?

Answer choices

  • A. `<h6>`

  • B. `<header>`

  • C. `<h1>`

  • D. `<heading>`