Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › In the CSS syntax 'Selector{Property1: value1; P…

In the CSS syntax 'Selector{Property1: value1; Property2: value2}', what separates declarations?

ASemicolon (;)
BForward slash (/)
CComma (,)
DPipe (|)
Answer & Solution
Correct answer: A. Semicolon (;)
1. The CSS Syntax section explains declaration formatting. 2. 'The declaration block can contain one or more declarations separated by a semicolon.' 3. Each declaration has property:value pairs. 4. Multiple declarations in a block use semicolons between them. _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