Thursday 8 March 2012

Cascading Style Sheets

Cascading Appearance Sheets (CSS) is a appearance area accent acclimated for anecdotic the presentation semantics (the attending and formatting) of a certificate accounting in a markup language. Its best accepted appliance is to appearance web pages accounting in HTML and XHTML, but the accent can additionally be activated to any affectionate of XML document, including apparent XML, SVG and XUL.

CSS is advised primarily to accredit the break of certificate agreeable (written in HTML or a agnate markup language) from certificate presentation, including elements such as the layout, colors, and fonts.1 This break can advance agreeable accessibility, accommodate added adaptability and ascendancy in the blueprint of presentation characteristics, accredit assorted pages to allotment formatting, and abate complication and alliteration in the structural agreeable (such as by acceptance for tableless web design). CSS can additionally acquiesce the aforementioned markup folio to be presented in altered styles for altered apprehension methods, such as on-screen, in print, by articulation (when apprehend out by a speech-based browser or awning reader) and on Braille-based, concrete devices. It can additionally be acclimated to acquiesce the web folio to affectation abnormally depending on the awning admeasurement or accessory on which it is actuality viewed. While the columnist of a certificate about links that certificate to a CSS appearance sheet, readers can use a altered appearance sheet, conceivably one on their own computer, to override the one the columnist has specified.

CSS specifies a antecedence arrangement to actuate which appearance rules administer if added than one aphorism matches adjoin a accurate element. In this alleged cascade, priorities or weights are affected and assigned to rules, so that the after-effects are predictable.

The CSS blueprint are maintained by the World Wide Web Consortium (W3C). Internet media blazon (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998).

No comments:

Post a Comment