Advertisements
Advertisements
Question
Which of the following ways below is correct to write a CSS?
Options
p {color:red; text-align:center};
p {color:red; text-align:center}
p {color:red; text-align:center;}
p (color:red;text-align:center;)
Advertisements
Solution
p {color:red; text-align:center}
APPEARS IN
RELATED QUESTIONS
Which of the following is the page level style?
CSS is also called as ______.
What is selector?
Which of the following indicates that the text included is a comment?
Write the general format of linking CSS with HTML.
What are the advantages of using CSS? Advantages of CSS
Write a CSS file to define text color and alignment to <p> tag.
Write a CSS file to define font type, style and size to <h1> tag.
Write an HTML document to display the following paragraph as per the given description Using CSS:
- Font Name: Cooper Black
- Style: Bold Italics
- Color: Blue
“The State Institute of Education (SIE) was established in 1965 to provide for systematic study of problems relating to School Education under the administration of Directorate of School Education.”
List and explain the Font and text element properties and values used CSS.
