CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display differently depending on the screen size or device on which it is being viewed. While the author of a document typically links that document to a CSS file, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified. However if the author or the reader did not link the document to a specific style sheet the default style of the browser will be applied.

CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-calledcascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

Cascading Style Sheets (CSS) is a style sheet language used for describing the look and written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XMLSVG and XUL. CSS is a cornerstone specification of the web and almost all web pagesformatting of a document written in a markup language. While most often used to style web pages and interfaces  use CSS style sheets to describe their presentation.

 

 

 

HOME
 
JAVA
 
CSS
HTML