Search Header Logo

HTML and CSS Quiz 9 class

Authored by Kartik kamble

Computers

7th Grade

Used 4+ times

HTML and CSS Quiz 9 class
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 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?