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?
CSS is also called as ______.
The Declaration block of CSS is surrounded by
What is the use of <style> tag?
What is CSS?
Write the general format of linking CSS with HTML.
What is Inline Style?
Write down general format of CSS declaration.
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.
