HTML Images

HTML Images

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

HTML Basics

HTML Basics

7th - 10th Grade

10 Qs

HTML quiz - Day 4

HTML quiz - Day 4

5th - 12th Grade

11 Qs

For final demo

For final demo

10th Grade

10 Qs

HTML & CSS Basics

HTML & CSS Basics

9th - 12th Grade

15 Qs

WWW

WWW

6th - 10th Grade

15 Qs

HTML Quiz #1 Review - CodeHS (Sec 1-5)

HTML Quiz #1 Review - CodeHS (Sec 1-5)

6th - 9th Grade

10 Qs

Web Development

Web Development

8th - 10th Grade

12 Qs

Html 2

Html 2

10th Grade

10 Qs

HTML Images

HTML Images

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Preston Rowland

Used 81+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the HTML image attributes to set the size of the image to 250 pixels wide and 400 pixels tall.

<img src="scream.png" width="250" height="400">

<image source="scream.html">

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use CSS to set the size of the image to 250 pixels wide and 400 pixels tall.

<img src="scream.png" size="wide:250px;high:400px;">

<img src="scream.png" style="width:250px;height:400px;">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the correct HTML to make the image become a link to "default.html".

<a href="default.html">

<img src="smiley.gif">

</a>

<link>

<img src="smiley.gif">

</link>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Make the image below float to the right of the paragraph.

<p>

<img src="smiley.gif" style="align:right;">

This is a paragraph.

This paragraph contains an image

</p>

<p>

<img src="smiley.gif" style="float:right;">

This is a paragraph.

This paragraph contains an image

</p>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Add the correct HTML attribute to display the "smiley.gif" image.

<img src="smiley.gif">

<img display="smiley.gif">

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Specify an alternate text for the image.

The alternate text should say "Smiley".

Alternate text is useful when the image cannot be displayed, like when the page is read by a screen reader.

<img src="smiley.gif" alt="Smiley">

<img src="smiley.gif" text="Smiley">

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

src - Specifies the path to the image

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?