Last Updated: February 25, 2016
·
407
· codingjohnson

Link tag not needed for CSS stylesheets

You can serve CSS stylesheets by using a HTTP header named link.

If you have a .HTACCESS file, then this is all you need:

Header add Link "</staging.css>;rel=stylesheet;type=text/css;media=all"

I'm not sure how valuable this knowledge is, but it could be a good way to apply stylesheets to all the files in a directory