Style Sheets Each element on a page has a style defined for it. The style is defined by a set of attribute : value pairs. Style attributes can control: –Typeface and font properties –Background properties –Box-related properties –List properties 3
Inheritance A descendant is an element that is enclosed (nested) in another, its ancestor. (If it is an immediate descendant, it is a child of the enclosing element, its parent. Elements having the same parent are siblings.) All descendants of an element inherit its style properties, unless these are overridden by their own style rules. 10
Your consent to our cookies if you continue to use this website.