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;)
MCQ
Advertisements
Solution
p {color:red; text-align:center}
shaalaa.com
Introduction to CSS
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which of the following is the page level style?
The extension of CSS file is ______.
The Declaration block of CSS is surrounded by
The declaration should be terminated by
What is the property to set text as bold?
What is CSS?
Write the general format of linking CSS with HTML.
What is Inline Style?
What are the advantages of using CSS? Advantages of CSS
Write a CSS file to define text color and alignment to <p> tag.
