Search Header Logo

HTML and CSS Quiz

Authored by Fadi Fadi

Information Technology (IT)

9th - 12th Grade

Used 4+ 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

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used for the largest heading?

(h6)

(h1)

(h3)

(p)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the (p) tag do in HTML?

Creates a table

Inserts a paragraph

Adds a line break

Formats text in bold

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to create a line break in HTML?

(lb)

(br)

(line)

(break)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default alignment of a (p) tag in HTML?

Center

Right

Justified

Left

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the (hr) tag do in an HTML document?

Creates a horizontal line

Inserts a hyperlink

Adds a heading

Creates a page break

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the text color?

font-color

color

text-color

background-color

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct CSS property to change the background color of a webpage?

background

bgcolor

background-color

page-color

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?