click below
click below
Normal Size Small Size show me how
CascadingStyleSheets
CompuScholar - Web Design - Chapter 6
Term | Definition |
---|---|
<font> | Element with attributes to control the size, appearance, and color of text. |
Inline Styling Method | Writing properties that will be applied in the same line as the mark-up element. |
<style> | Element with attributes to apply inline CSS properties to an HTML Element. |
Property | A name to describe things like the color, size, or font style of an element. |
Value | Assigned to a property to control an element's appearance on a web page; ex. blue |
Declaration | When a property is combined with a value; formatted as PROPERTY:VALUE; |
Declaration Block | A set of declarations assigned to a particular style; a list of styles to be applied. |
Background-Color | Property added to elements to set the color of the background within that element's area. |
Color | Property that tells the browser what color to make the text; predefined names and hexadecimal numbers. |
Font-Size | Property that controls the size of the text; predefined names and pixels. |
Font-Weight | Property that tells the browser if text should be displayed as "normal" or "bold" on the screen. |
Predefined Color Names | Web-safe colors that all computers, monitors, and web browsers know how to display these colors with exactly the right shades; ex. red. |
RGB Colors | Each pixel is defined using a red, green, and blue color system; the amount of color is defined by a number between 1 and 255. |
Hexadecimal | 16 digits (0 through 9 and A through F) that define a specific color; ex. 0000FF. |
CMYK Colors | Colors mixed together and used in printing; cyan, magenta, yellow, black. |
Contrast | The visual difference between the letter colors and the background color. |
Color Theory | Studying colors to help you make good color choices according to how certain colors make you feel, attract attention, or set a mood. |
Color Wheel | A visual diagram that shows the relationship between 3 primary, 3 secondary, and 6 tertiary colors. |
Primary Colors | Red, Yellow, Blue |
Secondary Colors | Green, Orange, Purple |
Tertiary Colors | Red-Orange, Red-Violet, Yellow-Orange, Yellow-Green, Blue-Violet, and Blue-Green |
Analogous Colors | Sets of colors that are next to each other on the color wheel; ex. green, yellow-green, yellow |
Complementary Colors | Two colors that are found directly opposite of one another on the color wheel; ex. green, red |
Harmonious Colors | A color scheme that is pleasing and balanced to the eye. |
Embedded or Internal CSS | Defining styles, one at a time, at the top of each web page for each type of HTML element you want to control. |
Selector | The name of the HTML tag you want to control with a <style> element; ex. p for paragraph |
Case Sensitivity | Using lowercase letters and consistency when coding to avoid possible problems. |
Common Selectors | Elements that can be styled using embedded CSS; ex. <body>, <p>, <h1>, <a> |
Cascading Concepts | Rules that have to be followed when applying properties to elements. |
Importance | Cascading rule that marks something as "important" and thus overrides all other properties that might apply to an element; "!important" |
Inheritance | Cascading rule that makes HTML elements inherit traits from elements that contain ex. if you apply a rule to the <body> of the page, all of the <p> and other elements inside the <body> will inherit those properties. |
Ordering | Cascading rule that makes the later (lower) rules override the properties set by the earlier (higher) rules; if this creates a conflict in the code then the latest (lowest) rule will override the settings from the earlier rule. |
Specificity | Cascading rule that only apply to subsets of standard selector elements. These more specific rules will override the properties from the more general rules that apply to a broader range of elements. |
Inline Properties | Cascading rule that will override any other properties that are applied to an element through style rules or inheritance. |
External CSS | A method of applying style HTML code (on multiple pages) on your website via information saved in a seperate .css file. |
<link> | Element that links to an external file. |
@charset | A declaration that should be the first line of a .css file; tells the browser about the character set you are using. |
CSS Comments | Used to make notes to yourself that are ignored by the browser; use /* to start the comment and */ to end it. |