What is CSS and what is it used for?
CSS(Cascading Style Sheets) is a language used to describe how a HTML document should be presented. • External Style Sheets are stored in CSS files • Internal Style Sheets are stored directly in the HTML document • Inline Styles are applied directly on an element • All CSS definitions will cascade into one • CSS is a DHML component External style sheets External style sheets is the best choice when the design should apply to many pages. With external style sheets, you can do site-wide design changes at one location(in the CSS file). Each page that should use the design rules described in the Style Sheet stored in the CSS file must link to the Style Sheet by using the tag like this:
Browsers requesting a HTML document will follow the link and read the design rules from the file external-style-sheet_file.css, and present the document according to them. This is how the External Style SheetRelated Questions
- should web based applications follow web standards, separation of markup (content), presentation (design), and behavior (functionality) or no?
- I want my additional content pages to look like the selected presentation style used in the API topics. How can I do that?
- What is CSS and what is it used for?