4 - CSS/ Divisions Flashcards

1
Q

What are selector, propery and value of an Inline Style

A

<h1></h1>

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

Give an example of an Internal (or Embedded) Style

A

It’s where you give all <h1>’s etc a property in the ie

h1{font-size:20pt; color:#FF3399}

This then applies those attributes to all <h1> tags in the document.</h1></h1>

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

How is a .CSS stylesheet linked to a HMTL document?

A

You add the link to the file name in the .HTML document:

Inline styling overrides the CSS

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

How can the <div> </div> div tag be manipulated in a CSS file?

A
#mainbody{font-size:20px;
margin-top:25px; padding-bottom:10em; 
float:left;}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly