Sunday, January 30, 2011

What is CSS?

Cascading Style Sheets (Cascading Style Sheets - CSS) - is the language used in HTML documents to determine how the presentation soderzhimogo.Predstavlenie set using styles, placed directly in the elements of HTML, HTML-document of title or separate stylesheet.
Table styles provide a few rules CSS. Each rule selects the elements in HTML-document. Then, these rules define how styles will be represented by the elements.
With one CSS file can link any number of files, HTML (XHTML, SHTML, PHTML).

What does it mean " kaskadnye"?
There are three types of style sheets, which may affect the presentation of HTML-document in a browser. Here they are.
* Stylesheets browser. Browsers apply style sheets to all web documents. Although these stylesheets depending on the browser, they all share common characteristics - black text, blue links, brown or red visited links. These style sheets are tables of the browser by default.
* Custom stylesheet. User is anyone who visits your site. Most modern browsers allow users to set their own style sheets in browsers. These styles have higher priority than the style sheet the default browser, but only for this user.
* All style sheets. The author is the one who developed the site, ie thank you! Applying a table style to the main page, you add the author's style sheet. Typically copyrights stylesheets have a higher priority than the user (which, in turn, inhibit the styles of your browser). As a result, a so-called " kaskad".
Cascade means that styles can fall into each other (or form a cascade). Through a cascade of defined priorities of the rules that are later applied to the document. For example, as mentioned above, the rules of copyright style sheets usually have a higher priority than the style sheet the default browser.
CSS - it rekondatsiya Consortium World Wide Web (World Wide Web Consortium - W3C). W3C - an industry consortium of parties interested in the development of WWW; it includes a variety of universities, companies like Microsoft, Netscape and Macromedia, as well as experts-related fields.

No comments:

Post a Comment

Confused? Feel free to ask

Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.

Note:
Please do not spam Spam comments will be deleted immediately upon my review.