0
What's the best place to put <style> and <script>?
I'm confused about this. I know it can matter if you put <script> in the body while it's supposed to be in the head.
1 ответ
+ 4
Put style in end of head,
For script,
If it is importing library, put in head. Mind the dependency.
If it is local script, put in end of body.