Click to See Complete Forum and Search --> : CSS link position
vik_pa
07-21-2003, 04:46 AM
Where is the correct place to store a link tag to an external css file. Should it be placed within the head tag as follows:
<head>
<link href ="css.css" rel = "stylesheet" type = "text/css">
<head>
DaveSW
07-21-2003, 05:55 AM
yes. I use a slightly different order, but I don't think it makes any difference.
<link href="css/main.css" type="text/css" rel="stylesheet">
Charles
07-21-2003, 06:22 AM
The order that attributes appear has no bearing (unless you've definded the same attribute twice). I like things alphabetical myself.
See http://www.w3.org/TR/html4/struct/links.html#h-12.3 for the low down on the LINK element.