Search Header Logo

CSS and HTML Quiz

Authored by SACHIN DHANGAR

Computers

Professional Development

Used 3+ times

CSS and HTML 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

CSS: What is the default position value for HTML elements?

absolute

relative

static

Fixed

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS: What property is used to control the transparency of an element?

opacity

visibility

Filter

display

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HTML: Which attribute is used to open a hyperlink in a new tab?

href

rel

target="_blank"

tab

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS: Which CSS property is used to specify the stack order of elements?

position

order

z-index

display

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS: Which shorthand property is used to set all margins in one declaration?

padding

margin

border

box-model

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HTML: Which tag is used to define an unordered list?

li

list

ul

ol

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS: What property is used to change the font of an element?

font-family

text-style

font-weight

font-size

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?