- ancestor
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called an ancestor of an element B, if and only if B is a descendant of A.
- attribute
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
A value associated with an element, consisting of a name, and an associated (textual) value.
- author
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An author is a person who writes documents and associated style sheets. An authoring tool generates documents and associated style sheets.
- child
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called the child of element B if an only if B is the parent of A.
- content
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The content associated with an element in the source document; not all elements have content in which case they are called empty. The content of an element may include text, and it may include a number of sub-elements, in which case the element is called the parent of those sub-elements.
- descendant
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called a descendant of an element B, if either (1) A is a child of B, or (2) A is the child of some element C that is a descendant of B.
- document language
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The encoding language of the source document (e.g., HTML or an XML application).
- document tree
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The tree of elements encoded in the source document. Each element in this tree has exactly one parent, with the exception of the root element, which has none.
- element
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
(An SGML term, see [ISO8879].) The primary syntactic constructs of the document language. Most CSS style sheet rules use the names of these elements (such as "P", "TABLE", and "OL" for HTML) to specify rendering information for them.
- following element
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called a following element of an element B, if and only if B is a preceding element of A.
- intrinsic dimensions
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The width and height as defined by the element itself, not imposed by the surroundings. In CSS2 it is assumed that all replaced elements -- and only replaced elements -- come with intrinsic dimensions.
- preceding element
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called a preceding element of an element B, if and only if (1) A is an ancestor of B or (2) A is a preceding sibling of B.
- rendered content
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The content of an element after the rendering that applies to it according to the relevant style sheets has been applied. The rendered content of a replaced element comes from outside the source document. Rendered content may also be alternate text for an element (e.g., the value of the HTML "alt" attribute), and may include items inserted implicitly or explicitly by the style sheet, such as bullets, numbering, etc.
- replaced element
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element for which the CSS formatter knows only the intrinsic dimensions. In HTML, IMG, INPUT, TEXTAREA, SELECT, and OBJECT elements can be examples of replaced elements. For example, the content of the IMG element is often replaced by the image that the "src" attribute designates. CSS does not define how the intrinsic dimensions are found.
- sibling
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
An element A is called a sibling of an element B, if and only if B and A share the same parent element. Element A is a preceding sibling if it comes before B in the document tree. Element B is a following sibling if it comes after B in the document tree.
- source document
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The document to which one or more style sheets refer. This is encoded in some language that represents the document as a tree of elements. Each element consists of a name that identifies the type of element, optionally a number of attributes, and a (possibly empty) content.
- style sheet
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
A set of statements that specify presentation of a document. Style sheets may have three different origins: author, user, and user agent. The interaction of these sources is described in the section on cascading and inheritance.
- user
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
A user is a person who interacts with a user agent to view, hear, or otherwise use a document and its associated style sheet. The user may provide a personal style sheet that encodes personal preferences.A user agent is any program that interprets a document written in the document language and applies associated style sheets according to the terms of this specification. A user agent may display a document, read it aloud, cause it to be printed, convert it to another format, etc.
- user agent (UA)
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
A user agent is any program that interprets a document written in the document language and applies associated style sheets according to the terms of this specification. A user agent may display a document, read it aloud, cause it to be printed, convert it to another format, etc.
- valid style sheet
-
From Glossary of Cascading Style Sheets, level 2 CSS2 Specification (1998-05-12)
The validity of a style sheet depends on the level of CSS used for the style sheet. All valid CSS1 style sheets are valid CSS2 style sheets. However, some changes from CSS1 mean that a few CSS1 style sheets will have slightly different semantics in CSS2. A valid CSS2 style sheet must be written according to the grammar of CSS2. Furthermore, it must contain only at-rules, property names, and property values defined in this specification. An illegal (invalid) at-rule, property name, or property value is one that is not valid.