Home › Maharashtra HSC Class 12 (Arts) › informationtechnology › Cascading 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_
Related questions
In a CSS rule, what punctuation separates a property name from its value?In the CSS syntax 'Selector{Property1: value1; Property2: value2}', what separates declaraHow does the textbook describe the main benefit of CSS for multi-page websites?What does h1{padding:30px} accomplish per the table?Which embedded CSS placement is correct in an HTML document?Per the textbook, what is unique about an id in HTML?If an HTML element has id='para1', which CSS selector targets it?In CSS h1{margin-left:10px}, what does this rule accomplish?