General CSS Flashcards
What is CSS used for
To control how a web page looks
What does CSS stand for
Cascading Style Sheets
What are inline style sheets
Styles that are embedded right within the HTML code they affect
What are internal style sheets
Styles that are placed within the header information of the web page, and then affect all corresponding tags on a single page
What are external style sheets
Styles that are coded in a separate document, which is then referenced from within the header of the actual web page
How are internal style sheets made
Using the style element to contain all the instructions for the page
What file extension does an external CSS style sheet have
.css
What three types of style sheets does CSS provide
inline, internal and external
How do CSS inline declarations appear
Enclosed in straight quotes using the style attribute of whichever tag you want to affect
What is a CSS style
Essentially a rule that specifies how a particular element will be formatted
What does CSS padding refer to
The spacing between the text and the borders of the section
What is the CSS margin
The spacing between the section and its surroundings
What are CSS style sheets made up of
Rules
What does the cascading part of ‘Cascading Style Sheets’ refer to
The rules that determine which of a set of competing rules apply to an element
What does a CSS border have
A width, type, and colour