1D0-720 · Question #43
What is the primary purpose of CSS in web development?
The correct answer is B. To control the layout and appearance of web pages. CSS (Cascading Style Sheets) exists specifically to control the visual presentation of HTML elements - covering layout, colors, fonts, spacing, and responsiveness - which makes B correct. Why the others are wrong: A is incorrect because content (text, images, structure) is…
Question
What is the primary purpose of CSS in web development?
Options
- ATo create web page content.
- BTo control the layout and appearance of web pages.
- CTo manage the backend functionality of web pages.
- DTo enhance the speed of web pages.
How the community answered
(59 responses)- A2% (1)
- B93% (55)
- C2% (1)
- D3% (2)
Explanation
CSS (Cascading Style Sheets) exists specifically to control the visual presentation of HTML elements - covering layout, colors, fonts, spacing, and responsiveness - which makes B correct.
Why the others are wrong:
- A is incorrect because content (text, images, structure) is created with HTML, not CSS.
- C is incorrect because backend functionality is handled by server-side languages like Python, Node.js, or PHP.
- D is incorrect because page speed is primarily influenced by server performance, JavaScript optimization, and network factors - not CSS itself (though poorly written CSS can slow rendering slightly).
Memory tip: Think of the acronym HSJ - HTML builds the house, CSS styles it, JavaScript makes it interactive. CSS = Style, never content or logic.
Topics
Community Discussion
No community discussion yet for this question.