0

How to link between html ,css and java script

20th May 2019, 6:34 AM
Shamsh Tabrez
Shamsh Tabrez - avatar
3 Answers
+ 7
If you want an external script, you must create a separate JS file then include it in your HTML by putting <script src="<yourfilename>.js"> in your HTML. It is recommended to put your <script> tag above the </head> tag. You can also include CSS in your HTML using <style> tag inside <head> tag.
20th May 2019, 6:39 AM
BroFar
BroFar - avatar
+ 3
Thanks a lot
20th May 2019, 6:39 AM
Shamsh Tabrez
Shamsh Tabrez - avatar
0
External CSS: <link rel = "stylesheets" type = "text/css" href = "name.css"> External JS: <script src = "name.js"> </script>
20th May 2019, 6:36 AM
Airree
Airree - avatar