INTRODUCTION TO CSS Flashcards

1
Q

CSS stands for

A

Cascading Style Sheet.

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

describes how HTML elements are to be
displayed on screen, paper, or in other media.

A

CSS

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

It was described and developed as a means to separate the design portion of the web page into a different file for easier management of a website’s
style.

A

CSS

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

This saves a lot of work for designing a web page

A

CSS

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

Was HTML intended to contain tags for formatting web pages?

A

No

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

HTML is used to:

A

to describe the content of the web page

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

parts of a css

A

Selector, Declaration block -> declaration (property and value)

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

h1 {color:blue; font-size:12px;}

what part is h1

A

selector

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

h1 {color:blue; font-size:12px;}

what part is color

A

property

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

what part is blue

A

value

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

points to the HTML element you want to
style.

A

selector

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

contains one or more
declarations separated by semicolons

A

declaration block ( the curly brackets “ { } “ )

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

includes a CSS property name and a
value, separated by a colon.

A

declaration

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

Multiple CSS declarations are separated with _______

A

semi colons

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

declaration blocks are surrounded by ________

A

curly brackets

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

Three types stylesheets you can use
in your HTML documents

A

External Stylesheets
Internal Stylesheet
Inline stylesheets

17
Q

You can link an external stylesheet by using the following
code to your HTML file.

A

Link tag ( <link></link> )

18
Q

Internal style sheets are defined in the head section of an
HTML page with

A

<style></style>

19
Q

The style functions as an attribute of the style attribute

A

inline stylesheet

20
Q

<head>
<link></link>
</head>

what stylesheet is this

A

external style sheet

21
Q

<head>
<style>

a { color: red; text-align: center; }
h1{ color: blue; }
</style>
</head>

what stylesheet is this

A

Internal style sheet

22
Q

<p>Sample Inline
Style Sheet. </p>

what stylesheet is this

A

Inline stylesheet