A document doesn't need to have a single style sheet. You can give it a default style and any number of alternatives for the reader to choose from. This page, for example, has as alternatives all the W3C Core Styles, plus two style sheets found elsewhere on the Web (author: David Baron).
How the reader can select the alternatives depends on the browser. Not all browsers yet offer a menu for it, but in Netscape 6, for example, you can find all the styles under the menu "View" → "Use Stylesheet."
To include extra style sheets, it suffices to add more <LINK> elements in the header, with the right REL and TITLE attributes, as follows. (I left out some of the styles; see the source of this document for even more links.)
How the reader can select the alternatives depends on the browser. Not all browsers yet offer a menu for it, but in Netscape 6, for example, you can find all the styles under the menu "View" → "Use Stylesheet."
To include extra style sheets, it suffices to add more <LINK> elements in the header, with the right REL and TITLE attributes, as follows. (I left out some of the styles; see the source of this document for even more links.)
<link rel="stylesheet" title="Gold (right, fixed) + navbar" href="../threepart- .css">
<link rel="alternate stylesheet"title="Oldstyle"href="http://www.w3.org StyleSheets/Core/Oldstyle">
<link rel="alternate stylesheet"title="Modernist" href="http://www.w3.org StyleSheets/Core/Modernist">
<link rel="alternate stylesheet" title="Steely" href="http://www.w3.org StyleSheets/Core/Steely">
<link rel="alternate stylesheet" title="Forest (by David Baron)" href="http://dbaron.org/style/forest">
<link rel="alternate stylesheet" title="Plain (by David Baron)" href="http://dbaron.org/style/plain">
Groups of links with the same TITLE are automatically combined into one style sheet. <link rel="alternate stylesheet"title="Oldstyle"href="http://www.w3.org StyleSheets/Core/Oldstyle">
<link rel="alternate stylesheet"title="Modernist" href="http://www.w3.org StyleSheets/Core/Modernist">
<link rel="alternate stylesheet" title="Steely" href="http://www.w3.org StyleSheets/Core/Steely">
<link rel="alternate stylesheet" title="Forest (by David Baron)" href="http://dbaron.org/style/forest">
<link rel="alternate stylesheet" title="Plain (by David Baron)" href="http://dbaron.org/style/plain">
Source from © 1994-2011 W3C©
thats an informative one
ReplyDeletewebsite builders perth
nice informative stuff
ReplyDeletewebsite development company
This is absolutely a commendable post indeed. You share splendid piece of information here. Thank you for attributing this informative post..!
ReplyDeleteThank you for another fantastic blog. Where else could I get this kind of information. I have a project that I am just now working on, and i am sure this will help me a lot..
Delete