Web Design and Development (Implementation: CSS) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does CSS stand for?

A

Cascading Style Sheet

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

What do CSS files do?

A

CSS files add style to a webpage

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

What are the two types of style sheets?

A

External Style Sheets

Internal Style Sheets

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

What are External Style Sheets and what are they used for?

A

External Style Sheets are separate CSS files which are linked to at the top of the document (in the head section). They can be accessed at the top of the page in the toolbar. They are used to apply style to multiple pages to make them consistent

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

What are Internal Style Sheets and what are they used for?

A

Internal Style Sheets are are style sheets in the same document which are used to apply style to the one page. They are situated in the section, in between head tags

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

What are some examples of the syntax used to edit text in a CSS file?

A
font-size
font-family
color
text-align
background-color
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are used to show which way to edit text?

A

: and ;

eg. font-size: 14px;

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

What is used to introduce editing of text?

A

{

eg. h1 {

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

How would we style a CSS file to include;

  • black text
  • helvetica font
  • font size 14
  • text alined to the right

(for the h1 attribute)

A
h1 {
color: black;
font-family: heltevica;
font-size: 14px;
text-align: right;
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly