Answers
What does CSS stand for? - answer Cascading Style Sheet
What is CSS? - answer Style sheet language that provides the formatting and "look"
of a Web page or document written in a markup language. It's the presentation of a
webpage.
What are the two stages the browser combines the document's content with its style
information? - answer 1. The browser converts HTML and CSS into DOM.
(The DOM combines the content with its style)
2. The browser displays the contents of the DOM.
The ______ is where the CSS and document's content meet up? - answer DOM
a._______-_______ elements look like they start on a new line. b._______ elements
flow within the text and do not start on a new line. - answer a.) Block-level elements
b.) Inline elements
The key to understanding how CSS works is to imagine that there is an ________
_____ around every HTML element. - answer invisible box
CSS allows you to _______ ______ that control the way that each individual box (and
the contents of that box) is presented. - answer create rules
CSS works by associating rules with _______ elements. - answer HTML
What type of language is CSS? - answer Declarative
What is a declarative language? - answer A program that specifies what is to be
done rather than how to do it.
Nonprocedural and Very High Level Language are other names for... - answer
Declarative Language
Identifiers that indicate which stylistic features you want to change.
eg.) font, width, background-color, size, etc. - answer CSS Properties
Indicates how you want to change the style of the property.
eg.) If you want to specify a color property then the value is the color you want the text
in these elements to be (14px, Serif, Blue, etc.). - answer CSS Values
, A CSS rule contains two parts: a ________ and a ________. - answer Selector and
a Declaration
Indicates how the elements referred to in the selector should be styled. - answer
CSS Declaration
The two parts of a CSS Declarations are: a _______ and a _______. - answer a
Property and a Value
CSS Declarations are paired with ________ to produce CSS rulesets? - answer
Selectors
Indicates which element the rule applies to.
eg.) p {}, .class {}, etc. - answer CSS Selectors
Each declaration contained inside a declaration block has to be separated by a...? -
answer semi-colon;
The selector plus the declaration block is called a...? - answer Ruleset
What is the code to link an EXTERNAL CSS? - answer <link href="css/styles.css"
type="text/css" rel="stylesheet"/>
This element is used in an HTML document to tell the browser where to find the CSS
file used to style the page. - answer <link>
What are the three attributes of a CSS link element? - answer 1. href
2. type
3. rel
The _______ attribute specifies the path to the CSS file (which is often placed in a
folder called css or styles). - answer href
The _______ attribute specifies the type of document being linked to. The value should
be text/css. - answer type
The _______ attribute specifies the relationship between the HTML page and the file it
is linked to. The value should be stylesheet when linking to a CSS file. - answer rel
The code below is an example of:
<style type="text/css">
body {
font-family: arial;
}
</style> - answer Internal CSS