English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Write a short note on rule of CSS. - Computer Applications

Advertisements
Advertisements

Question

Write a short note on rule of CSS.

Short Note

Solution

  1. CSS style declaration consists of two major parts; Selector and Declaration.
  2. The Selector refers an HTML tag in which you want to apply styles.
  3. The Declaration is a block of code contains style definition. It should be surrounded by curly braces.
  4. We can include any number of properties for each selector, and they must be separated by semicolons.
  5. The property name and its value should be separated by a colon.
  6. Each declaration should be terminated by a semicolon (;).
shaalaa.com
Introduction to CSS
  Is there an error in this question or solution?
Chapter 13: CSS - Cascading Style Sheets - Evaluation [Page 293]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 13 CSS - Cascading Style Sheets
Evaluation | Q 2. | Page 293
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×