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


useful post for the beginners. Thumbs Up
good Thumbs Up
Thanks
Nice presentation!
Right
good
good for tagging all.
gd
very useful tagging
About Author
MST. Nury Fatema
Copyright © 2024. Powered by Intellect Software Ltd