html js einbinden code example
Example 1: javascript in html einbinden
<script type="text/javascript" src="./der/pfad/zu/der/datei.js"></script>
Example 2: Javascript file in html angeben
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<script src="something.js"></script>
</head>
<body>
</body>
</html>