Ad
Sponsored by Sir Tauqeer
CLICK HERE TO JOIN SIR TAUQUEER WHATSAPP GROUP
FOR PREPARATION CLASSES AND JOBS UPDATES
Join Now

CSS is used for:

A. Logic
B. Styling/Presentation
C. Database Storage
D. Server Management
Correct Answer: B. Styling/Presentation

CSS stands for Cascading Style Sheets, and its primary purpose is to define the visual presentation and layout of web pages. It works in conjunction with HTML, which structures the content, by providing rules for how that content should be displayed. This includes aspects like colors, fonts, spacing, positioning, and responsiveness across different devices.

The correct answer is B: Styling/Presentation. CSS is specifically designed to separate the content of a web page from its visual design, making websites easier to maintain, more consistent, and adaptable.

A: Logic is incorrect because program logic and interactivity are typically handled by scripting languages such as JavaScript. C: Database Storage is incorrect as databases (e.g., SQL, NoSQL) are used for storing and managing data, not for styling web pages. D: Server Management is incorrect; server management involves configuring and maintaining web servers and their operating systems, which is a backend task unrelated to CSS.

Leave a Comment

Join Our WhatsApp Channel ×
Scroll to Top