Search Header Logo

ITS HTML CSS 1

Authored by Wayground Content

Computers

9th - 12th Grade

Used 6+ times

ITS HTML CSS 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct method for writing a selector and declaration?

h1 { color: blue;
font-size: 12px; }

<h1> { color: blue;
font-size: 12px; }

h1 /* color: blue;
font-size: 12px; */

h1 { color; blue:
font-size; 12px: }

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector has higher specificity?

Class selector

Tag selector

Attribute selector

Universal selector

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to make the text bold?

font-weight: bold;

text-style: bold;

font-bold: true;

text-bold: yes;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these has the correct syntax for an ID?

#selector-id

#SelectorId

#4selectorid

#selector id

Answer explanation

Id’s have to have a hashtag in front of the word. IDs cannot have a capital letter space or number at the beginning. Also, spaces should be replaced with a dash.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a link state?

a:link

a:unvisited

a:mouseOver

a:hyperlink

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is used to change the font of an element?

font-family

font-weight

text-style

text-family

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Color the text blue.

p { color: blue; }

p {text-color: blue; }

p { font-color: blue; }

<p> { text-color: blue; }

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?