Linking CSS
HTML
General
Coding
Coding 2
100
An external style sheet has the extension ______
What is .CSS
100
To link to another Web page, like google, in your index file, you will need to use this element/tag and this attribute.
What is anchor tag and href attribute
100
CSS stand for this.
What is Cascading Style Sheets
100
In CSS, the concept of properties and values corresponds to HTML’s:
What is Attributes and values
100
How do you insert a comment in a CSS file?
What is /* this is a comment */
200
The style statements for an external style sheet are entered into the _______ section of the HTML document
What is head section
200
To create a table, these are the three elements you need.
What is , , and
200
This CSS property controls the text size
What is font-size
200
This is what is incorrect with the following line of code:
What is missing the src attribute
200
How do you add a background color for all -h1- elements?
What is h1 {background-color:#FFFFFF}
300
An ____________ style sheet overrides both an embedded or internal style sheet and linked or external style sheets
What is inline
300
This give more information about elements. In this example,
is an element and width is an this:
What is an Attributes
300
Setting the text-decoration property to _____, takes the underline away from a link property.
What is none
300
This is the correct CSS syntax for making all the

elements bold.

What is p {font-weight:bold}
300
The _____ part of a style statement includes at least one type of style, or property, to apply to the selected element.
What is declaration
400
In order to link a style sheet to a Web page, the < link > tag must use _____ as the value for the rel property.
What is stylesheet
400
Some elements do not have a separate close tag.
is one example. In these cases, the forward slash is placed at the end of the tag itself, and these tags are known as ...
What is self-closing
400
These are the three sections of a CSS rule.
What is Selector, Property, Value
400
CSS declarations must always be separated by a...
What is a semi-colon
400
How do you change the left margin of an element using CSS?
What is {margin-left: value}
500
Name the three different ways to link a stylesheet to an HTML document and the precedence of each.
What is Inline - top priority Embedded/Internal - priority over external (linked) but not inline External (linked) - priority over nothing
500
This tells the web browser which language is being used for the set of instructions that follow. It is the first line of an XHTML.
What is DOCTYPE
500
Why would you want to use CSS when you can use HTML code? Give at least 2 reasons
CSS gives you “global” format control. CSS allows for precise positioning. CSS enables you to “customize” HTML. CSS gives you freedom to be creative. CSS will eventually become a necessity. Older HTML elements will no longer be supported.
500
The code below shows this element. This is a link
What is an anchor tag
500
table { color: blue; font-family: arial; } With the code above in use, what happens to a table?
What is The text inside the table would be colored blue and the font is arial.
M
e
n
u