Skip to main contentSkip to solution

CSS is used for __________________ .

Solution

✅ Correct Option: 2

CSS (Cascading Style Sheets) controls how a web page looks: colours, fonts, spacing, and the positioning of elements on the page. It separates presentation from the HTML content.


Option 1: this describes HTML, which defines the structure and content.

Options 3 and 4: dynamic behaviour and scripting are done with JavaScript, not CSS.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question