
CSS - Day 1

Quiz
•
Information Technology (IT)
•
University
•
Medium
Chitra Muthu
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
13 questions
HTML QUIZ

Quiz
•
6th Grade - University
10 questions
HTML

Quiz
•
12th Grade - University
5 questions
Quiz Kelompok 4 DMI

Quiz
•
12th Grade - University
15 questions
HTML - DAY-1

Quiz
•
University
15 questions
CSS Image Manipulation Quiz

Quiz
•
9th Grade - University
13 questions
Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

Quiz
•
10th Grade - University
7 questions
Quiz για HTML και CSS

Quiz
•
10th Grade - University
10 questions
usabilidad - htm - css

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade