Thursday, October 22, 2009

CSS: Cascading Style Sheets

The most common applications that style most web pages written in HTML (Hyper Text Markup Language) and XHTML (Extensible Hyper Text Markup Language) is labeled as CSS – Cascading Style Sheets.

CSS is a style sheet language used to describe the look and formatting of a document written in a markup language. A markup language is a system for interpreting a text in a way which is distinguishable from that text.

Cascading Style Sheets were designed to allow the separation of document content (which includes HTML or similar markup language) from document presentation (which includes the layout, colors, or fonts). When this separation has occurred, content accessibility will improve, flexibility and control in the specification of present characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content.

A priority scheme is determined when dealing with CSS. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

CSS Example
selector [, selector2, ...][:pseudo-class] {
property: value;
[property2: value2;
...]
}
/* comment*/

World Wide Web Consortium (W3C) maintains the Cascading Style Sheets (CSS) specifications. Internet media type (MIME Type) text/css is registered for use with CSS by RFC 2318.

CSS Sources

Author Styles
User Style
User Agent Style

About CODANK Charlotte Web Design

CODANK is a top rated Charlotte Web Design, Internet Marketing and Search Engine Optimization firm located in Charlotte, NC. We are dedicated to providing the highest quality, cost effective custom software development services, delivering a broad range of business consulting and outsourcing services. We specialize in web design and development, branding and identity, internet marketing, and content management systems.

For more information, visit us at www.codank.com

No comments:

Post a Comment