What is CSS?
CSS stands for Cascading Style Sheets CSS is a set of instructions in a linked external file or within the source code of a page
The CSS tells a browser how to render page elements
A CSS file is identified by .css file extension.
Therefore, we can simply define Cascading Style Sheets (CSS) as a mechanism for adding style
(e.g. fonts, colors, spacing) to Web Documents.
What are Style Sheets?
In simple words, style sheets define styles such as fonts, color, margins, spacing, etc. that aweb browser must use while rendering a webpage.
Style Sheets have Styles stored in them
Styles define how HTML elements should be displayed in the browser
Styles were added to HTML 4.0 to eliminate complexity
External Style Sheets are stored in CSS files
External Style Sheets can save a lot of time and work
0 comments:
Post a Comment