Unit C Flashcards
CSS Start
Lines or blocks of CSS code that specify the presentation of web page elements. {}
style rules
Most recent version of CSS
CSS3
An aspect of the appearance of a web page element that can be modified. For instance, you can change the background color or text alignment of an element. Ex. text-align
property
Combination of a property name and a value. Ex. text-align: center;
declaration
Apply associated declarations to every instance of the specified element in a web document. Ex. h1 or p
type selectors
Identifies the HTML element or elements to which the declarations apply. CSS supports several different types of these.
selectors
All descendant elements of selected elements
inheritance
Consists of CSS style rules entered in the head element of an HTML document.
embedded style sheet
CSS code that applies to that element alone. (#) followed by the value of the id attribute for the element. Ex. id=”contact”
ID selector
Creates a style rule based on values assigned to elements using the HTML class attribute. Allows you to apply a style rule to an unlimited number of separate elements. Ex. class=”accent”
class selector
How to add multiple selectors to a single rule?
Enter the selectors with a comma after each one except the last.
separate file containing style information that multiple web pages can link to.
external style sheet
Used to reference an external style sheet.
link element