Advertisements
Advertisements
प्रश्न
Write a short note on rule of CSS.
Advertisements
उत्तर
- CSS style declaration consists of two major parts; Selector and Declaration.
- The Selector refers an HTML tag in which you want to apply styles.
- The Declaration is a block of code contains style definition. It should be surrounded by curly braces.
- We can include any number of properties for each selector, and they must be separated by semicolons.
- The property name and its value should be separated by a colon.
- Each declaration should be terminated by a semicolon (;).
APPEARS IN
संबंधित प्रश्न
CSS is also called as ______.
The extension of CSS file is ______.
The Declaration block of CSS is surrounded by
Which of the following indicates that the text included is a comment?
Write the general format of linking CSS with HTML.
Write down general format of CSS declaration.
What are the advantages of using CSS? Advantages of CSS
Write a CSS file to define text color and alignment to <p> 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.
