Is it valid too...
Posted: Wed Oct 03, 2007 1:08 pm
Is it valid too include <script>, <link> or <style> elements in the body of you document? If so then what would be the difference in placing them in the head or body of you document?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Hmm. I put my css before my javascript, but only in the head. Is that what yahoo means by far down? Or do they mean at the bottom of the body?pickle wrote:For speed, Yahoo suggests putting all CSS as far up in the document as possible, and all Javascript as far down.
Code: Select all
<html>
<head>
<link>
<script>
</head>
<body>
</body>
</html>