Advertisements
Advertisements
Question
Write down general format of CSS declaration.
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;
} APPEARS IN
RELATED QUESTIONS
The extension of CSS file is ______.
What is selector?
The Declaration block of CSS is surrounded 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?
Write the general format of linking CSS with HTML.
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.
