HTML · Starter

The basics: what a thing is and what it's for.

Starter·2.1.1

What does 'HTML' stand for?

Starter·2.1.2

What is the purpose of the `<head>` element in an HTML document?

Starter·2.1.3

What is the key difference between `<div>` and `<span>`?

Starter·2.1.4

Which HTML attribute provides alternative text for an image, important for accessibility and shown if the image fails to load?

Starter·2.1.5

What does the `<!DOCTYPE html>` declaration at the top of an HTML file do?

Starter·2.1.6

Which tag is used to create a hyperlink to another page in HTML?

Starter·2.1.7

What is the correct HTML element for the largest heading on a page?

Starter·2.1.8

Which attribute specifies where a hyperlink's content should be opened (e.g., a new browser tab)?

Starter·2.1.9

What does the `<br>` tag do in HTML?

Starter·2.1.10

Which HTML element is used to embed an image into a web page?

Starter·2.1.11

What is the purpose of an ordered list (`<ol>`) versus an unordered list (`<ul>`) in HTML?

Starter·2.1.12

What does the `required` attribute do when added to an `<input>` element inside a form?

Starter·2.1.13

What is the correct way to add a comment in HTML that won't be rendered on the page?

Starter·2.1.14

Which HTML element represents the main, dominant content of a `<body>`, distinct from headers, footers, and sidebars?

Starter·2.1.15

What does the `lang` attribute on the `<html>` tag specify?

Starter·2.1.16

What is the purpose of a `<table>` element's `<thead>`, `<tbody>`, and `<tfoot>` sub-elements?

Starter·2.1.17

What does the `placeholder` attribute do on a text `<input>` element?

Starter·2.1.18

Which HTML element is specifically designed to play audio files directly in the browser with built-in playback controls?

Starter·2.1.19

What is the difference between the `<strong>` and `<b>` elements, both of which visually render as bold text?

Starter·2.1.20

What does the `charset` meta tag (`<meta charset="UTF-8">`) specify?