What is CSS?
CSS (Cascading Style Sheets) is a language that can be applied to XML applications and HTML documents to control the style of a Web page.It will help structure document fonts, spacing and aural cues from one document. You can say that it is a dependent language since does not have an independent purpose.
Why Use CSS?
CSS simplifies web authoring and site maintenance, it allows developers to control the style and layout of multiple Web pages all at once by defining attributes such as the size of all paragraph and the color of all links etc. You can eliminate having to place font tag with its' attributes on each html document by using CSS. To make a global change, simply change the style, and all elements in the Web are updated automatically.
How do I Get Started?
You can embed CSS into the head section of an HTML document by constructing a style element using the tags (e.g. <style></style>) or you can create an external style guide in its' own file using a plan text editor, and create references to this guide in the head section of your html document.
|CSS & HTML - LESSON 2|