HTML CODE
LISTS & IMAGES
LINK IT!
CSS CODE
DEBUG IT!
100

What will this code display?

<h1>Welcome</h1>

A large heading displaying Welcome.

100

Which tag creates a bulleted list?

<ul>

100

Which tag creates a hyperlink?

<a>

100

Which CSS property changes text color?

color

100

Find the error:

<h1>Welcome<h2>

The closing tag should be </h1>.

<h1>Welcome</h1>

200

Complete the code:

______Hello World______

You need to create a paragraph.

<p>Hello World</p>

200

Which tag creates a numbered list?

<ol>

200

Which attribute tells the browser where the hyperlink should go?

href

200

What does this code change?

body {

    background-color: blue;

}

The background color of the body/page.

200

Find the error:

<a href="home.html">Home<a>

The closing </a> is missing.

Correct:

<a href="home.html">Home</a>

300

Which code correctly creates a line break?

A

<break>

B

<br>

C

<line>

D

<lb>

B — <br>

300

Complete the code:

<ul>

    ______Tiger______

    ______Lion______

    ______Jaguar______

</ul>

<ul>

    <li>Tiger</li>

    <li>Lion</li>

    <li>Jaguar</li>

</ul>

300

Complete:

<a ______="about.html">About Us</a>

href

300

What is wrong with this CSS?

h1 {

    color blue;

}

The colon : is missing.

Correct:

h1 {

    color: blue;

}

300

Find the error:

<img source="flower.jpg" alt="Flower">

source should be src.

Correct:

<img src="flower.jpg" alt="Flower">

400

What is the output of this code?

<h1>My Website</h1>

<hr>

<p>Welcome to my website.</p>

A large heading, followed by a horizontal line, followed by a paragraph.

400

Find the missing attribute:

<img ______="tiger.jpg" alt="Tiger">

src

Correct code:

<img src="tiger.jpg" alt="Tiger">

400

What page will open when this is clicked?

<a href="lions.html">Lions</a>

lions.html

400

Write CSS that makes all paragraphs:

  • 18 pixels
  • Arial font

p {

    font-size: 18px;

    font-family: Arial;

}

400

Find the error:

<link rel="stylesheet" src="style.css">

The attribute should be href, not src.

Correct:

<link rel="stylesheet" href="style.css">

The unit shows this exact structure for linking an external stylesheet.

500

Find the error:

<h1>My Website<h1>

The closing tag is incorrect.

Correct:

<h1>My Website</h1>

500

A student writes:

<img src="tiger.jpg" alt="Tiger" width="400">

The image does not appear.

Give one possible reason.

The image file may not actually be named tiger.jpg, may not be in the correct folder, or the src path may be incorrect.

The presentation identifies src as the image source file and explains that the image source must point to the correct file.

500

Your website contains these files:

index.html

tigers.html

lions.html

Write the HTML code that creates a Tigers link on index.html.

<a href="tigers.html">Tigers</a>

The presentation describes href as the destination of the hyperlink and the text between <a> and </a> as the clickable link text.

500

Write CSS that gives the webpage:

  • A light-blue background
  • Black text
  • Arial font

body {

    background-color: lightblue;

    color: black;

    font-family: Arial;

}

The unit's CSS examples include background-color, color, font-family, and font-size.

500

A student has:

index.html

style.css

Their HTML contains:

<head>

<link rel="stylesheet" href="styles.css">

</head>

The CSS is not working.

What is the problem?

The filename doesn't match.

The actual file is:

style.css

but the HTML is looking for:

styles.css

Correct:

<link rel="stylesheet" href="style.css">

M
e
n
u