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;
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;
}
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;
}
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” >
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 >