1/17
These flashcards cover key vocabulary and concepts related to CSS as detailed in the lecture notes.
CSS
Cascading Style Sheets, a style sheet language used for describing the presentation of a document written in HTML.
Internal style sheet
A CSS section placed within the
External style sheet
A separate CSS file linked to an HTML document using the tag, situated within the
section.Inline CSS
CSS styles applied directly within an HTML element's style attribute, generally not recommended for large websites.
Element Selector
Selects and styles all elements of a specified type within CSS.
ID Selector
A CSS selector with a '#' symbol that styles a unique element identified by its id attribute.
Class Selector
A CSS selector beginning with a '.' that styles elements sharing the same class name.
Color name
One way to specify colors in CSS by using predetermined color names like 'red' or 'blue'.
RGB value
A method for specifying colors using the red, green, and blue components, e.g., rgb(255,0,0).
Hexadecimal color
A method for specifying colors using hexadecimal format, starting with '#', e.g., #FF0000.
CSS Box Model
The concept describing the layout of a web element being composed of content, padding, border, and margin.
Total width calculation
The formula for calculating the visible width of a div element, considering width, padding, border, and margin.
Margin
The space outside the border of an element, used to create space between elements.
Padding
The space between the content and the border of an element, creating space within the element.
Border
A line that surrounds the padding and content of an element, defining its boundary.
CSS comment syntax
/* comment */; used for comments within CSS code.
HTML comment syntax
<! - - comment - - >