CSS Syntax and Comments
Syntax:

syntax divided into two part one is a selector and other is a declaration.

      Selector

                   {

                    color:..

                    text-align:

                    }

 

Ex.

       h1 {color:blue; text-align:center;}

  

Comments:

A CSS comment begins with /*, and ends with */, See the example below:

Ex.

      /* This is a CSS comment */

        h1 {

               color: blue;

                text-align: center;

             }

Powered  by Codersarts