Web Development

Web Development

8th Grade

29 Qs

quiz-placeholder

Similar activities

Google Sheets

Google Sheets

6th - 8th Grade

32 Qs

3D Printing

3D Printing

7th - 8th Grade

25 Qs

Year 8 STEM

Year 8 STEM

8th Grade

30 Qs

Key Programming Concepts

Key Programming Concepts

5th - 12th Grade

28 Qs

Tinkercad basics quiz

Tinkercad basics quiz

6th - 8th Grade

25 Qs

10th grade CS exam HTML+CSS

10th grade CS exam HTML+CSS

8th - 11th Grade

30 Qs

MOS Word 2016 Learn by Doing Part 2 Formatting Text

MOS Word 2016 Learn by Doing Part 2 Formatting Text

8th - 12th Grade

24 Qs

Word Review

Word Review

6th - 8th Grade

29 Qs

Web Development

Web Development

Assessment

Quiz

Instructional Technology

8th Grade

Easy

Created by

Danna Taylor

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?