Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › What does h1{padding:30px} accomplish per the ta…

What does h1{padding:30px} accomplish per the table?

AAdds 30 pixels of blank space around the h1 content
BMoves h1 30 pixels right
CSets h1 font size to 30 pixels
DSets h1 border width to 30 pixels as per the chapter
Answer & Solution
Correct answer: A. Adds 30 pixels of blank space around the h1 content
1. The CSS Properties table lists padding. 2. 'Used when you want to add padding (blank spaces) around the content of an element.' 3. Value type: Pixel. 4. Example: h1{padding:30px} — 30px blank space around h1 content. _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