Advertisements
Advertisements
Question
Write down general format of CSS declaration.
Answer in Brief
Advertisements
Solution
CSS declaration- General format:
Selector Declaration
HTML Tag { Properties : Values; >
Example:
Selector Declaration { properties : Values; }
P {
Font-size : 16pt;
color : red;
font-weight : bold;
} shaalaa.com
Introduction to CSS
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Expansion of CSS ______.
The extension of CSS file is ______.
What is selector?
The declaration should be terminated by
What is the property to set text as bold?
Which of the following indicates that the text included is a comment?
Which of the following ways below is correct to write a CSS?
What are the advantages of using CSS? Advantages of CSS
Write a CSS file to define font type, style and size to <h1> tag.
List and explain the Font and text element properties and values used CSS.
