- Yes, you can have multiple styles for one HTML element, such as font, bold, color, etc.
What is CSS?
CSS is a computer term which stands for Cascading Style Sheets.
2. How is CSS different than HTML?
The difference between CSS and HTML is that CSS tells and demonstrates how to show and produce HTML. HTML is not a programing language it is a markup language.
3. Why use CSS?
It is an easier and more simple process. Files are usually saved in .css, and you can modify how a layout looks by editing one feature using certain websites supporting that feature.
4. What are the 4 parts of the CSS syntax?
The 4 parts of the CSS syntax is Selector, Declaration, Property, Value.
5. Why would you use comments?
Comments allow you to state a what exactly it is, and where it is, giving you a better chance of finding the exact thing you wish to edit if it doesn't look professional in following all of the visual rules of visual hierarchy, etc.
6. What is the difference between "id" and "class"
The difference between "id" and "class" selector is specificity. Id is used to show a single element. The class selector is used to show a group of elements.
7. What are the 3 ways to insert CSS?
Three ways to insert CSS are internal, external or an inline style sheet.
8. Can you have multiple styles for one HTML element?
Yes, it is possible to have multiple styles for one HTML element, such as the different designs for the font, bold, color, etc.
9. What is "cascading order?"
In order to organize things when there is more than one style used, cascading order is the way to go.
No comments:
Post a Comment