CSS Syntax

A CSS ruleset is composed of a selector and a declaration block.

div{
    background-color:block;
    width:200px
    height:200px
}

div: Division or  div is a container element and it is used to group related items together.

A CSS ruleset is composed of a selector and a declaration block.

div{
    background-color:block;
    width:200px
    height:200px
}

div: Division or  div is a container element and it is used to group related items together.