Search Header Logo

HTML and CSS Quiz

Authored by Rita Mustafa

Information Technology (IT)

Professional Development

Used 3+ times

HTML and CSS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <p> tag in HTML?

is used to define images

is used to define paragraphs

is used to define headings

is used to define lists

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the color property in CSS specify?

color property is used to set the background color of an element

color property is used to set the text color of an element

color property is used to set the border color of an element

color property is used to set the size of an element

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of <h1> to <h6> tags in HTML?

to are used for creating hyperlinks

to are used for creating lists

to are used for creating headings

to are used for creating tables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CSS stand for?

CSS stands for Cascading Style System

CSS stands for Cascading Style Sheets

CSS stands for Computer Style Sheets

CSS stands for Creative Style Syntax

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the margin property in CSS define?

margin defines the space inside an element

margin defines the space outside an element

margin is used to set the border of an element

margin is used to set the font style of an element

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <div> tag in HTML?

The tag is used to create hyperlinks

The tag is used to group block-level elements

The tag is used to display inline elements

The tag is used to define styles

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is inline CSS written?

Inline CSS is written inside tags

Inline CSS is written inside the section

Inline CSS is written directly in the HTML tag

Inline CSS is written in a separate file

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?