Web Designing •
MCQ • Introduction to CSS (Styling and Layouts)
Introduction to CSS (Styling and Layouts)
Q1. CSS stands for:
A) Computer Style Sheets
B) Cascading Style Sheets
C) Creative Style Sheets
D) Colorful Style Sheets
Answer: B
Explanation:
CSS stands for Cascading Style Sheets. It is used to style and design HTML webpages.
Q2. CSS is used for:
A) Creating database
B) Styling web pages
C) Creating operating systems
D) Server hosting
Answer: B
Explanation:
CSS controls the appearance of HTML elements like colors, fonts, spacing, and layout.
Q3. Which symbol is used for ID selector?
A) .
B) #
C) *
D) @
Answer: B
Explanation:
The # symbol is used for selecting elements by ID in CSS.
Q4. Which symbol is used for Class selector?
A) .
B) #
C) *
D) &
Answer: A
Explanation:
The . symbol is used for selecting elements by class name.
Q5. Inline CSS is written using:
A)