1. What is CSS and what it is for?
– CSS stands for Cascading Style Sheets. It used to defines how HTML elements are to be displayed.
2. What is Internal Stylesheet, External Stylesheet, and Inline Styles?
– Internal Styles are defined in the head section of a given web page.
– External Styles are defined on the external style sheets, which is linked to the web pages.
– Inline Styles are defined within the HTML markup of a particular page element.
3. What is syntax?
– It’s the rules to follow. (just like English; it has grammar)
4. What are the three parts of a CSS syntax?
– a selector,property, and value.
5. How does Inheritance works in CSS?
– Inheritance in CSS, when applied to to an element in a document, a property with the value “inherit” will use the same value as the parent element has for that property. The values are inherited by the children of an element in the document tree.
6. What is a comment in coding and how do you write a comment in CSS and HTML?
– A comment in coding is a string of code within HTML, XML, and CSS that is unable to see or acted upon by the browser or parser. To write a comments in CSS and HTML, you surround the text you want commented out with
http://www.expression-web-tutorial.com/Types_CSS_Styles.html#.UOzCzq6Dj3A
http://www.w3schools.com/css/css_intro.asp
http://cssproperty.com/tutorial/what-is-css-syntax/
http://webdesign.about.com/od/beginningtutorials/a/aa050503a.htm
http://www.w3.org/TR/CSS21/cascade.html#inheritance