ITS HTML CSS 1

ITS HTML CSS 1

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

G10_Quiz_1_2t_2024

G10_Quiz_1_2t_2024

12th Grade

20 Qs

Pretest Mandiri 2 - X RPL 2

Pretest Mandiri 2 - X RPL 2

10th Grade

20 Qs

CSS

CSS

7th - 9th Grade

14 Qs

Prog. WEB XI (PTSII-2023)

Prog. WEB XI (PTSII-2023)

11th Grade

15 Qs

CodeHS Div & Spans

CodeHS Div & Spans

7th - 12th Grade

20 Qs

HTML and CSS Review

HTML and CSS Review

3rd Grade - Professional Development

17 Qs

CSS Quiz

CSS Quiz

7th - 12th Grade

20 Qs

Code.org Lesson 1-14

Code.org Lesson 1-14

9th - 12th Grade

15 Qs

ITS HTML CSS 1

ITS HTML CSS 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Wayground Content

Used 6+ times

FREE Resource

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; }

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?