what is the difference between persistent,preferred and alternate
I need to know the Difference and the purpose of using
preferred in linking css in to
html().I do not no why this is used and how to use them.
The idea is to give users who "know how to adjust their browsers" options to view your site differently, perhaps a 'large font' version for unsightly folks, pink for girls, or whatever style you may seem fit to target an audience sector.
Persistent will always load (use this for your basic blocks, etc) and is default if not otherwise specified
preferred will load if requested, will swap with Alternate sheet.
alternate will be optional by user request (as in the larger font baseline/etc) and will swap out a preferred sheet while the persistent sheet will remain.
read more: http://www.w3.org/TR/html401/present/styles.html#h-14.3.1 & https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets
This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here