Combining HTML
Combining HTML
Web-Pro Games
14th May 2024
CSS syntax
A CSS rule consists of a selector and a declaration block.
Selector: points to the HTML element you want to style.
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.