Horje
How to load JavaScript in HTML

Use simple syntax for loading external scripts (the type attribute is not necessary):


Example of Loading JS in HTML

This is only path guide
index.html
Example: HTML
<script src="myscript.js">

Example of Loading JS in HTML

This example of url based for Loading JS in HTML
index.html
Example: HTML
<script src="https://www.w3schools.com/lib/uic.js?v=1.0.5">






Category:
Web Tutorial
Sub Category:
HTML Style Guide
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference