CSS Fundamentals/ Basic CSS Structure & Syntax Flashcards

1
Q

How can you make text bold and adjust it’s thickness?

A

font-weight: bold;

font-weight: 200px;

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

If you wanted various elements to be styled in the same way how do you add this?

A

h1, h2, p {
font-family: Georgia;
}

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

In CSS, if you wanted to add something that will select every single element on the web page what would you add?

A
  • {
    font-size: 16px;
    }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you link the index.html file together with a style.css one?

A

< link=”style.css” type=”text/css” rel=”stylesheet” >

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

What element do you need to add in order to be able to write CSS code in an HTML file?

A

< style > < /style >

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