Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › A CSS rule set contains which two main parts?

A CSS rule set contains which two main parts?

AA selector and a declaration block
BAn ID and a class only as per the chapter
CA header and a footer
DAn attribute and a tag
Answer & Solution
Correct answer: A. A selector and a declaration block
1. The CSS Syntax section defines the rule-set structure. 2. It states 'A CSS rule set contains a selector and a declaration block.' 3. These two are the foundation of every CSS rule. _Source: Maharashtra Balbharati Std XII Information Technology, Ch 1 "Cascading Style Sheets in HTML5", §1.4 ¶1_
Solve this in the app — Maharashtra HSC Class 12 (Arts) practice & 24k+ MCQs →
Related questions