Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › What does the CSS rule p{font-style:italic} do?

What does the CSS rule p{font-style:italic} do?

AItalicises text in all <p> elements
BBolds <p> elements
CIndents <p> elements
DUnderlines <p> elements as per the chapter
Answer & Solution
Correct answer: A. Italicises text in all <p> elements
1. The CSS Properties table specifies font-style values. 2. Values: italic, oblique, normal. 3. 'p' selector targets all <p> paragraphs. 4. Setting font-style: italic italicises that text. _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