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 (;).
shaalaa.com
Introduction to CSS
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
The extension of CSS file is ______.
What is selector?
The Declaration block of CSS is surrounded by
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 is the use of <style> tag?
What is Inline Style?
Write down general format of CSS declaration.
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.
