Glossary of Terms CSS

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

Ancestor
all elements in the html tree that are above an element.
Attribute
a variable or term that defines a specific setting or provides additional information to an element. Attributes appear as name value pairs in an element's start tag. Example (in red): < h2 align="center">.
Top

C

Child
an element that is directly nestled under another element - ie there are no elements between it and the element above it
Top

D

Declaration
A selector is part of a CSS rlue. It is enclosed within curly braces. it consists of at least one and possibly more of a property with a value. 
Example:css selector
Descendant
all elements that are directly enclosed within another element.
Top

E

Element
a defined piece of a html document that has a start tag and usually having a end tag. Commonly known as tags. Example:<html>
Top

P

Parent
an element that is directly above another element and encloses the other element.
Top

R

Rule
how a style is defined in CSS. A rule is made up of a selector, and decoloration.
Example: h1 (the selector) {color: #0000ff;} the decloration
Top

S

Selector
Usally it is a html element but it can be other things also like an ID (#one) or class (.red)
 Example:css selector
Top