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
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
The extension of CSS file is ______.
What is selector?
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 down general format of CSS declaration.
What are the advantages of using CSS? Advantages of CSS
Write a short note on rule of CSS.
Write a CSS file to define text color and alignment to <p> tag.