click below
click below
Normal Size Small Size show me how
CSS Vocabulary
codeHS - CSS Unit
Term | Definition |
---|---|
CSS | Cascading Style Sheets control the appearance and placement of HTML elements on a page. |
Selector | The part of a CSS rule which specifies which element(s) are to be styled. |
Declaration | Property name and value separated by a colon and terminated with a semicolon, for example... Font-family: sans serif; |
Property/Attribute | The part of a CSS rule which specifies WHICH TYPE of modification to apply to HTML elements. |
Value | The part of the CSS rule which specifies HOW the property/attribute will be modified |
ID Selector | A selector that identifies only ONE element within an HTML document. It is always preceded by a |
Class Selector | A selector that applies the same attribute to any HTML element that references it. It can be used multiple times in an HTML document. Is is preceded by a period. |
Tag Selector | A selector that applies style to all of a specific HTML tag. |
Syntax | Arrangement of words and symbols in a language. |
Inline CSS Style | CSS coded in the body of the webpage as an attribute inside of an html tag. Control limited to the one element with the style. |
Internal CSS Style | CSS styles whose code is located within the head section of the HTML code of a web page. Control limited to that one HTML page. (also known as embedded) |
External Style Sheet | Collection of styles stored in a separate file that controls the formatting of elements on any web page that links to the .css file. |
Rule | A complete CSS style statement: selector, property, and value. |
width, style, color | Properties/attributes needed to make a border. |
color | Property/attribute used to change the color of text. |
background-color | Property/attribute used to fill a div or change the color behind your content. |
font-style | Property that specifies the slant or artistic style of text characters |
font-variant | Property that specifies weather or not a text should be displayed in a small-caps font (normal--small-caps--inherit) |
font-weight | Property that specifies the weight of a font (normal-bold-bolder-lighter-size-inherit) |
font-size | Property that specifies the size of characters |
font-family | Property that specifies a specific style of your font |
Serif | Font-family with decorative edges on the characters |
Sans-Serif | Font-family without decorative edges on the characters |