Home  • Programming • CSS

CSS rule, selector, declaration, properties and values

CSS rule: A CSS rule has two main parts: a selector, and one or more declarations. Declaration: A declaration consists of a property and a value. Selector: In CSS, selectors are patterns used to select the element(s) you want to style. Property: The property is the style attribute you want to change. Each property has a value.

Comments 10


good
good for tagging all.
gd
very useful tagging
About Author
MST. Nury Fatema
Copyright © 2026. Powered by Intellect Software Ltd