HTML and CSS Quiz

HTML and CSS Quiz

7th Grade

10 Qs

quiz-placeholder

Similar activities

Maze game

Maze game

5th - 7th Grade

11 Qs

Spacing & Other Questions

Spacing & Other Questions

6th - 7th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

CPF 1 - 3

CPF 1 - 3

6th - 8th Grade

15 Qs

Computer Education 7

Computer Education 7

7th Grade

11 Qs

HTML and CSS Quiz

HTML and CSS Quiz

Assessment

Quiz

Computers

7th Grade

Practice Problem

Medium

Created by

Chitrankan Mulam

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the meta tag with charset="UTF-8" in the HTML document?

It sets the page's character encoding to UTF-8.

It links to a CSS file.

It includes a JavaScript file.

It defines the viewport settings for mobile devices.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to center-align the text in the title_section class?

align-items

text-align

justify-content

margin

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What HTML attribute is used to uniquely identify an element so that it can be manipulated by CSS or JavaScript?

Class

Name

Id

Type

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Which HTML element is used to link an external CSS file to the HTML document?

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following CSS rule achieve? img { border: 2px solid black; }

Adds padding to images

Sets a margin around images

Adds a border around images

Changes the image size

6.

OPEN ENDED QUESTION

3 mins • 1 pt

To create an image gallery, which HTML element is used to display individual images?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of setting background-size: cover in the CSS for the header class?

It repeats the background image

It stretches the background image to cover the entire element

It tiles the background image

It centers the background image without resizing

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?