CSS - Day 1

CSS - Day 1

University

10 Qs

quiz-placeholder

Similar activities

Quick Quiz Simpeda

Quick Quiz Simpeda

University

10 Qs

CS10337 - Lecture #5

CS10337 - Lecture #5

University

10 Qs

html basics

html basics

8th Grade - University

11 Qs

3.1(a)(b) - Lecture

3.1(a)(b) - Lecture

University

15 Qs

HTML QUIZ

HTML QUIZ

6th Grade - University

13 Qs

มัลติมีเดีย 2

มัลติมีเดีย 2

6th Grade - University

10 Qs

OSI layer

OSI layer

11th Grade - University

10 Qs

CSS Image Manipulation Quiz

CSS Image Manipulation Quiz

9th Grade - University

15 Qs

CSS - Day 1

CSS - Day 1

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Chitra Muthu

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the primary purpose of CSS?

To create databases

To style and layout web pages

To define JavaScript functions

To structure web page content

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following is the correct syntax for applying a CSS rule?

selector { property: value; }

property: value { selector; }

{ selector: property value; }

selector = property: value;

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

In the CSS rule .header { color: blue; }, what is .header?

Property

Selector

Value

Tag

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the purpose of a CSS selector?

It defines a CSS property

It determines how a browser renders a webpage

It specifies which HTML elements a rule applies to

It declares JavaScript functions

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which symbol is used to select an ID in CSS?

. (dot)

# (hash)

: (colon)

@ (at symbol)

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

How can you apply a CSS rule to all <p> elements in an HTML document?

#p { color: blue; }

.p { color: blue; }

p { color: blue; }

*p { color: blue; }

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What are the three methods of including CSS in an HTML document?

Inline, External, Internal

Local, Global, Inline

ID, Class, Type

JavaScript, PHP, SQL

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?