Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › In CSS h1{margin-left:10px}, what does this rule…

In CSS h1{margin-left:10px}, what does this rule accomplish?

AAdds 10px to the right side of h1 as per the chapter
BIndents text inside h1
CAdds 10px of margin on the left side of h1 elements
DIncreases h1 font size by 10px
Answer & Solution
Correct answer: C. Adds 10px of margin on the left side of h1 elements
1. The CSS Properties table lists Margin-Left. 2. 'Sets margin area on the left side of the element.' 3. Units: px, pt, cm. 4. The rule adds 10px of margin specifically on the left side of h1. _Source: Maharashtra Balbharati Std XII Information Technology, Ch 1 "Cascading Style Sheets in HTML5", §1.4 ¶3_
Solve this in the app — Maharashtra HSC Class 12 (Arts) practice & 24k+ MCQs →
Related questions