+ 2
Addition of CSS, JavaScript??
I'm creating my first Blog in WordPress. I'm confused how to add external CSS and JavaScript to my HTML content.
2 Réponses
+ 8
Btw if you want to add the script between head tag you can add a attribute "defer" and set its value to true to make sure that Javascript will load after document is loaded completely.
+ 4
Hey! @Tapan
You should add css in header tag, <link rel=stylesheet type="text/css" href="css/layout.css">
And, you may add javascript at the end of body tag,
<script type="text/javascript" src="script.js"></script> </body>
Hope! it helps.