test 2 Flashcards

1
Q

HTML code and CSS code follow the same basic syntax structure

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Style sheets are templates containing a collection of rules that assign unique styles to specific elements as well as every occurrence of that specific element

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is a sorting system consisting of rules by which declarations are sorted out so that there are not conflicts as to which declaration is to influence the selector’s presentation

A

Cascading Order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 4 BASIC steps that are first followed when assigning the cascading order in which styles will be applied?

A

Find all declaration.
Declare the style if selector matches.
No match, inherited parent prop.
None, default.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. One of the biggest advantages of using style sheets is that they are supported by all browsers so your pages will look consistent no matter which one your visitors are using to view your Web pages
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. CSS can be set-up as one of which two general “location” types?
A

Internal and External

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Another name for an internal style sheet is
A

embedded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Style information is written as content of which HTML element?
A

Style

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. The style element must be located in which HTML document section?
A

Head

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which TYPE attribute reference and value MUST be made in your document
    when using CSS?
A

<tyle=”text/css”>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Although this additional code is not as necessary as it once was, unless your embedded style code is written within HTML comment tags, it will actually be displayed on the screen when viewed with a browser that does not support CSS.
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

style is the style attached to one specific element and is applied
exclusively to this specific element occurrence (these styles must be specifically added each time they are used).

A

Inline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. What are the two ways that external style sheets can be brought into
    a web page for use?
A

linking and Importing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Separate style sheet files should be saved with what extension?
A

.CSS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. External style sheets should NOT contain any HTML tags like < head > or < style > – they should ONLY contain the style sheet rules.
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A