Basic HTML Structure
Headings & Text
Lists & Organization
Links & Images
Color & Layout
100

What tag tells the browser that the document is written in HTML5?

<!DOCTYPE html>

100

What tag is used for the largest heading?

<h1>

100

What tag creates a bulleted list?

<ul>

100

What tag is used to create a hyperlink?

<a>

100

What tag contains the main visible content of a webpage?

<body>

200

Which tag contains metadata and the page title?

<head>

200

What tag makes text bold?

<strong>

200

What tag is used to create a numbered list?

<ol>

200

Which attribute specifies the destination of a link?

href


200

What color would be displayed if an element had this style:
style="color: #0000FF;" ?

Blue

300

Which tag wraps all visible and non-visible content of a webpage?

<html>

300

Which tag is used to create a paragraph?

<p>

300

What tag is used for each item inside a list?

<li>

300

What attribute is required in the <img> tag to describe the image?

alt

300

In the color value rgb(255, 0, 0), what color is produced and why?

Red, because 255 is the maximum value for red, while green and blue are 0.

400

Which HTML tag controls the text that appears in the browser tab?


<title>

400

What is the smallest heading tag available?

<h6>

400

What is the difference between <ul> and <ol>?

<ul> is unordered (bullets), <ol> is ordered (numbered)

400

Which attribute in the <img> tag specifies the image file location?

src

400

If text is styled with color: white; and the background is also white, what usability issue occurs?

The text becomes invisible due to lack of contrast, harming readability and accessibility.

500

What is the difference between <th> and <td> in a table, and when should each be used?

<th> is used for header cells (usually bold and centered by default), while <td> is used for regular data cells.

500

How would you change the text color of a paragraph to blue using the style attribute?

<p style="color: blue;">

500

What would happen if you forgot the quotation marks around a style attribute value?

The browser could misinterpret where the attribute value ends, which may prevent the style from applying properly.

500

If you wrap an <img> tag inside an <a> tag, what happens?

The image becomes clickable and acts as a link.

500

If a student writes color: #GG0000;, what is the problem?

Hex color codes can only use digits 0–9 and letters A–F. ā€œGā€ is invalid.

M
e
n
u