CSS Flashcards
What is CSS?
Cascading style sheets
What is CSS for?
decides how your HTML should look like.
What can CSS do for us?
Add colors, change shapes and layout, and add animation.
What is a selector?
used to select the HTML element to be styled.
Selector is “what to do”. True or false?
False.
Declarations in CSS is “where to do”. True or false?
False.
p{ font-size: 25px; } which one of these is the declaration?
font-size: 25px
What is not part of CSS syntax?
HTML tags
What are the three ways to apply CSS?
Inline CSS, Internal CSS, External CSS
Inline CSS is to write CSS within HTML tags. True or False?
True
Internal CSS is to write CSS in a separate file with the .css extension.
False
How do you apply external CSS?
you have to write it in a separate file with the .css extension
Can you include all three ways?
Yes it is possible.
Inline CSS has the highest precedence. True or false?
True
The precedence of Internal and External CSS depends on the order of which you specify them inside the head tag. True or false?
True