Search Header Logo

Web Development

Authored by Danna Taylor

Instructional Technology

8th Grade

Used 2+ times

Web Development
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word is best defined as "a language used to describe how HTML elements should be styled"?

HTML

CSS

Heading

Element

Answer explanation

The correct answer is CSS, which stands for Cascading Style Sheets. It is specifically designed to describe how HTML elements should be styled, including layout, colors, and fonts, unlike HTML which structures the content.

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these tasks are most appropriate for CSS?

Change the background color

Add an image

Add a link

Change the font size

Add text

Answer explanation

CSS is used for styling web pages. Changing the background color and font size are tasks suited for CSS, as they involve visual presentation. Adding an image, link, or text are tasks typically handled by HTML.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which are you more likely to find in a CSS file?

.clouds { height: 50px; }

body { background: mistyrose; }

Haikus

a rainbow

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following website, what would you add to the CSS file so the images of clouds and rainbows have a height of 50 px?

img.cloud, img.rainbow { height: 50px; }

img.cloud, img.rainbow { width: 50px; }

img.cloud, img.rainbow { size: 50px; }

img.cloud, img.rainbow { max-height: 50px; }

Answer explanation

The correct choice is 'img.cloud, img.rainbow { height: 50px; }' because it directly sets the height of the images to 50 pixels. The other options either set width, use an incorrect property, or limit height without specifying it.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following HTML code: sushi plate clouds a rainbow Which CSS code would set the height of the clouds and rainbow images to 50px?

img-small { height: 50px; }

.weather { height: 50px; }

img { height: 50px; }

clouds { height: 50px; } rainbows { height: 50px; }

.clouds { height: 50px; } .rainbows { height: 50px; }

Answer explanation

The correct choice is '.weather { height: 50px; }' because it targets both images with the class 'weather', which are the clouds and rainbow images, setting their height to 50px.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given this webpage (showing 'My Pets' with 'Dog', 'Lula', and 'Slowpoke' listed), which of the following is the correct HTML?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following HTML code snippets is the most semantically correct way to structure the information about 'My Pets', 'Dog', 'Lula', and 'Slowpoke'?

My Pets

Dog

Lula

Slowpoke

My Pets Dog Lula Slowpoke

My Pets

Dog

Lula

Slowpoke

Answer explanation

The first choice uses appropriate heading tags, with

for the main title and

for the category, making it semantically correct. The other options lack proper structure and hierarchy for the content.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Instructional Technology