CASCADING STYLE SHEETS INTRODUCTION - What is CSS - WEBMULTICHANNEL

Header Ads

CASCADING STYLE SHEETS INTRODUCTION - What is CSS

CASCADING STYLE SHEETS




INTRODUCTION

It is time to take your web designing skills to the next level. Cascading style sheets (CSS) are a way to control the look and feel of your HTML documents in an organized and efficient manner. With CSS you will be able to:
·         Ass new looks to your old HTML
·         Completely restyle a website with only a few changes to your CSS code
·         Use the “style” you create on any web page you wish.
A style sheet can and should be, completely separate from your HTML documents. When you have mastered CSS and HTML you will be able to separate your web site’s design and formatting (CSS) from the content (HTML)

Using CSS
CSS is short for cascading style sheets. The purpose of CSS is to assign styling information to elements in a marked-up document. Unlike HTML, It is not actually a markup language. Rather, it is a collection of commands that allow you to reference the markup language being used.
 It functions by allowing you to assign styling attributes to elements within a markup document. These attributes can either be assigned directly in the markup tag or can be stored in an external file with references to the elements they affect.
The purpose of CSS is to break styling out from structural and descriptive markup. This allows the document to worry about how it will display. That can be addressed later when the CSS is added in.

History
Cascading style sheets was developed by a world wide web consortium team headed by Bert boss a Hakon lie. The intent of the project was to create a styling language that could be integrated with HTML and XHTML to complement its structuring capabilities with styling rules.
CSS has the planning stages as long as HTML. But when HTML first came out, the technology did not exist to make use of CSS. CSS was not implemented as a standard until after computer monitors allowed for full multimedia display, instead of just spiffier up the text.
By the time CSS was released as a standard, the browser companies had altered HTML to include many styling commands in order to make HTML documents more attractive. This means that although the idea for CSS has been around as long as HTML, it is playing catch up with HTML technology. It is not so much as new set standards standard as a pulling back in a line of markup languages with the original conception of the standards.
The first version of CSS, CSS, was released in 1996 and includes basic styling functions such as font color and background images. Most current Browsers fully support CSS1.

The Benefits of Style Sheets
There are many reasons for using style sheets. First is simply that HTML, XHTML, and  XML are not designed to be styling languages. HTML has, over time acquired some of its own styling elements but most or deprecated. XML has no styling elements. Standards recommend that style is separated from content. What follows is a list of reasons on why this separation makes sense.
You can change the appearance of your entire document by adjusting a few rules in a style sheet.
Style sheets control the layout of an entire document, or for each element in a document. Older HTML styling markup only operates on an element – by – element basis. HTML tags like <font> need to be placed and potentially nested, each time a font changes. Trying to find them all to change fonts throughout a document can be a challenge. Having all your style rules in one place means not searching the code for them.

Style sheets can be applied to multiple documents.

By using the same external style sheet in multiple documents, you can control your site layout from a centralized set of styling commands. This also means that you only need to change one document to get all pages using those style to change.

No comments

Theme images by 5ugarless. Powered by Blogger.