stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSS Review Flashcards | StudBud
Explore
/
CSS Review
CSS Review
17 terms
·
StudBud Administration
·
21 plays
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
Using a style sheet rule to override the default <body> for color is what behavior?
Hierarchy
Inheritance
Structure
Rules
2
What is the difference between an ID and a class in CSS?
An ID needs to be associated with text only.
An ID can only be used once per page, a class can be used multiple times.
None. Both ID and class have multiple uses on a website.
3
What are the three types of CSS? (select all that are correct)
inline
Internal
External
Embedded
4
Which line of code uses the correct syntax to apply an external CSS style sheet to HTML docs?
<style ref=stylesheet type=text/css href=styles.css/>
<style rel="stylesheet" type="css" href="styles.css"/>
<link rel="stylesheet" type="text/css" href="styles.css"/>
<link ref=stylesheet type=css href=styles.css/>
5
Which choice correctly describes two benefits of Cascading Style Sheets (CSS)?
Apply page structure to other & combination of formatting
Create a consistent look & feel, and simplify making changes
Template for page creation, simplified coding
Control of browser choice & applying page structure to other
6
In this CSS rule, which is the
selector
portion?
body {color:teal;}
"body"
"teal"
"color"
The portion inside the curly braces
7
Which of the following is a valid HTML reference to a CSS file?
<link href="text/css" type="styles.css" title="stylesheet"/>
<link rel="stylesheet" type="text/css" href="styles.css" />
<link title="stylesheet" href="text/css" type="stylesheet"/>
<stylesheet="text/css"title="styles.css" href="stylesheet"/>
8
In this CSS rule, which is the
property
portion?
body {color:teal;}
"body"
"teal"
"color"
The portion inside the curly braces
9
Why will this code
not
render properly in a Web browser?
Arial is a serif font
The font-size property can't be modified from its default
The size of the text must be specified in inches, not pixels
There's a space between the number & the abbr. in font-size
10
This HTML5 and CSS code directs the sidebar background image to display:
horizontally.
at the left of the sidebar.
at the top-right of the sidebar.
at a height of 129 pixels.
11
In Cascading Style Sheets (CSS), what is a rule?
HTML tag in a web page tht references the style sheet
A set of values that can be applied to a given property
A set of values that can be specified for a given selector
Formatting w/selector & properties & values applied to it
12
Which choice describes a correct order of precedence for implementing CSS styles?
External styles override all other styles.
Inline styles override all other styles.
Internal (embedded) styles override inline styles.
External styles override internal (embedded) styles.
13
What is the z-index in CSS?
Specifies the order of positioned elements that can overlap one another.
No such thing.
Is the last selector that loads in the css.
A higher z-index means the item is more transparent.
14
What is Full Stack Web Development?
Knowing how to work CSS only.
Knowing how to program Javascript.
Mastering HTML websites.
Mastering Front End and Back End Web Development
15
Why is an external style sheet useful?
An external style sheet can override an internal style sheet.
None. It's all the same.
A seperate style sheet loads faster.
A single file can change multiple html pages on a website.
16
In this CSS rule, which is the
declaration
portion?
body {color:teal;}
"color"
The portion inside the curly braces
"teal"
"body"
17
To bring an element out of the "normal flow", what property would you use?
hover:
disorder:
float:
I don't know. Maybe this is the right answer.