CSS - Syntax

A CSS rule-set consists of a selector and a declaration block.A style rule is made of three parts :

  • Selector
  • A selector is an HTML tag at which a style will be applied.

  • Property
  • A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties.

  • Value
  • Values are assigned to properties.


selector { property : value ; }


Learn All in Tamil © Designed & Developed By Tutor Joes