Search Header Logo

css basis

Authored by Mostafa Khairy

Computers

University

Used 1+ times

css basis
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to specify the space between the border and the content?

Margin

Padding

Border-spacing

Content-spacing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property changes the type of font?

font-family

font-style

font-weight

font-type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you make text bold in CSS?

font-style: bold;

font-weight: bold;

text-decoration: bold;

font-size: bold;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is used to make text uppercase?

text-decoration: uppercase;

text-transform: uppercase;

text-style: uppercase;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector applies to elements with a specific ID?

.idname

#idname

idname

$idname

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the total width of the element below?

230px

250px

270px

200px

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when both the width and max-width properties are applied like this?

The width will always be 500px regardless of screen size.

The width will be 100% of the screen width.

The width will be 500px unless the screen is smaller, then it will shrink to fit the screen.

The width will change based on the content inside the div.

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?

Discover more resources for Computers