HTML - How to use alternate stylesheets

  1. For the primary stylesheet
    • Use the link relation "stylesheet"
    • Add a title
  2. For each alternative stylesheet
    • Use the link relation "alternate stylesheet"
    • Add a title
        <link rel="stylesheet" title="Grayscale" href="//">
        <link rel="alternate stylesheet" title="Obsidian" href="//">
The current page uses alternate stylesheets. Open in FireFox or Internet Explorer, and look under the View menu.


Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath