Search Header Logo

Styling Elements with CSS

Authored by Jennelyn Suson

Computers

12th Grade

Used 1+ times

Styling Elements with CSS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct HTML for referring to an external style sheet?

<style src=”styles.css">

<link href="styles.css">

<stylesheet>styles.css</stylesheet>

<link rel="stylesheet" href="styles.css">

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Where in an HTML document is the correct place to refer to an external style sheet?

At the top of the document
At the end of the document
In the <head> section
In the <body> section

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct CSS syntax?

body: color=black;
body { color: black; }
{ body: color=black; }
{body; color:black; }

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which property is used to change the background color?

back-color

color

background-color 

Bgcolor

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which CSS property is used to change the text color of an element?

font
font-color
text-color
color

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which CSS property controls the text size?

font-size
 font-style
text-style 
text-size

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you select elements with class name "test"?

test
*test
#test
.test 

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?