CSS Syntax

Views: 194

CSS Syntax

The selector are the elements or tags of HTML you want to style using CSS.

The declaration block contains one or more declarations separated by semicolons.

Each declaration includes a CSS property name and a value, separated by a colon.

Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.

Tags

Leave a Reply

Your email address will not be published. Required fields are marked *

Search