how to import external javascript in html

how to import external javascript in html

use this following code
<head>

<script language="javascript" charset="utf-8" src="javascrpt.js">
</script>
</head>

Member Avatar for rajarajan2017
<script type = "text/javascript" src = "hw4.js"></script>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.