Comprog Css syntax selectors font and color properties

Comprog Css syntax selectors font and color properties

11th Grade

50 Qs

quiz-placeholder

Similar activities

Quiz Pra Asas 24 - Ganjil

Quiz Pra Asas 24 - Ganjil

7th Grade - University

45 Qs

PH1 Pengolah Kata &Scratch

PH1 Pengolah Kata &Scratch

8th Grade - University

50 Qs

Chapter 10: Characters, C-Strings, and string Class

Chapter 10: Characters, C-Strings, and string Class

11th Grade

51 Qs

Latihan USP Informatika IX paket 2

Latihan USP Informatika IX paket 2

9th Grade - University

50 Qs

Informatika 9 - Ujian semester ganjil Tahun 2025/2026

Informatika 9 - Ujian semester ganjil Tahun 2025/2026

9th Grade - University

50 Qs

Quiz sur HTML, Git, Grid et Flexbox

Quiz sur HTML, Git, Grid et Flexbox

1st Grade - University

50 Qs

FIBER OPTIK DAN PENERAPANNYA

FIBER OPTIK DAN PENERAPANNYA

11th Grade

55 Qs

ASESMEN INFORMATIKA

ASESMEN INFORMATIKA

11th Grade

50 Qs

Comprog Css syntax selectors font and color properties

Comprog Css syntax selectors font and color properties

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Medium

Created by

edison Ungriano

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the basic syntax of a CSS rule?

selector { property: value; }

{ property: value; } selector

selector value { property; }

property: value; selector

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a way to link a CSS stylesheet to an HTML document?

Using the <link> tag in the <head> section

Embedding an internal CSS using the <style> tag

Using the <script> tag to import a CSS file

Embedding an inline CSS directly within an HTML element using the style attribute

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a CSS selector?

A keyword used to specify the value of a CSS property

A code that specifies the HTML element, class or ID to which a particular style should be applied

A declaration block that contains CSS properties and values

A rule that defines the overall layout of a web page

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a type of CSS selector?

Element selector

Class selector

ID selector

Function selector

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between an ID selector and a class selector?

ID selectors can be used multiple times on a page, while class selectors can only be used once.

ID selectors have higher specificity than class selectors.

Class selectors can be applied to one element, while ID selectors will affect all elements.

There is no difference between ID selectors and class selectors.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a declaration block?

A set of CSS rules that defines the style of an HTML element

A specific value assigned to a CSS property

A keyword that specifies the type of selector

A comment within a CSS stylesheet

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you separate multiple declarations within a declaration block?

With a comma ,

With a semicolon ;

With a colon :

with a new line character \n

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?