Advertisements
Advertisements
प्रश्न
What would this CSS rule do?
p { color:red;
}विकल्प
Make the background of all paragraphs red.
Make the fonts of all paragraphs red.
Make all text boxes red.
Make the border of all paragraphs red.
MCQ
Advertisements
उत्तर
Make the fonts of all paragraphs red.
Explanation:
The breakdown of this CSS rule is as follows:
- p: This is the CSS selector used to target all paragraph () elements in the HTML structure.
- {}: These curly brackets contain the declaration block, which holds one or more style definitions.
- color:red;: This specific declaration defines the style. It changes the text color property value to red for the targeted elements.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
