Web Development

Web Development

8th Grade

29 Qs

quiz-placeholder

Similar activities

Cursors and Keyboards

Cursors and Keyboards

3rd - 8th Grade

25 Qs

Introducing Windows 11

Introducing Windows 11

KG - Professional Development

26 Qs

Airlines Mania

Airlines Mania

4th Grade - University

27 Qs

CF II Unit 2 & 3 Test

CF II Unit 2 & 3 Test

6th - 8th Grade

30 Qs

Guess the Logo

Guess the Logo

1st - 8th Grade

30 Qs

Microsoft Excel 2016

Microsoft Excel 2016

7th - 8th Grade

25 Qs

DT - UNIT 1 - CS DISCOVERIES REVIEW

DT - UNIT 1 - CS DISCOVERIES REVIEW

7th - 8th Grade

25 Qs

Electricity

Electricity

6th - 8th Grade

25 Qs

Web Development

Web Development

Assessment

Quiz

Instructional Technology

8th Grade

Practice Problem

Medium

Created by

Danna Taylor

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?