Multiple choice general knowledge

HTML tags use brackets to contain the information. What kind of notation do Cascading Style Sheets use to contain information?

  1. Brackets, just like HTML

  2. Parentheses.

  3. Curly brackets.

  4. Forward slashes.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

CSS uses curly brackets { } to contain style declarations for selectors. HTML uses angle brackets < > for tags, while parentheses ( ) are used in CSS for functions like calc(), url(), or rgb().