CSS and HTML Quiz

CSS and HTML Quiz

9th Grade

15 Qs

quiz-placeholder

Similar activities

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

Design your website

Design your website

7th - 12th Grade

20 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Computational Thinking - Review

Computational Thinking - Review

7th - 9th Grade

15 Qs

PC1.8 Evaluate computer program

PC1.8 Evaluate computer program

9th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Intro to Robotics

Intro to Robotics

9th Grade

14 Qs

CSS and HTML Quiz

CSS and HTML Quiz

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Ma. Basco

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct CSS selector to select all elements with the class 'example'?

.example

example

#example

.examplee

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you group multiple selectors to apply the same styles to all of them?

By using a hyphen

By using a plus sign

By separating them with a comma

By using a semicolon

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector is used to select elements with a specific attribute value?

Class selector

ID selector

Attribute selector

Element selector

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'action' attribute in an HTML form?

It specifies the URL where the form data will be submitted.

It specifies the size of the form

It changes the font style of the form

It adds a background color to the form

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a drop-down list in an HTML form?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 'required' attribute used for in an HTML form?

It is used to change the font style of the input field

It is used to add a background color to the input field

It is used to create a border around the input field

It is used to specify that an input field must be filled out before submitting the form.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the four main components of the CSS box model?

top, bottom, left, right

header, footer, sidebar, content

content, padding, border, and margin

text, image, video, audio