Answers for "html file to javascript"

2

how to open html file with javascript

// In my case, I used a button to activate this function:
function myFunction() {
    window.location.href = 'index.html';
}
Posted by: Guest on November-18-2020
1

Javascript file in html angeben

<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="utf-8">
</head>
<body>
    <h1>Everything</h1>
    <script src="something.js"></script>
</body>
</html>
Posted by: Guest on November-20-2020
8

how to add javascript in html

<script src="script.js"></script>
Posted by: Guest on May-19-2020
2

link javascript to html

<script src="index.js"> </script>
Posted by: Guest on October-06-2020

Code answers related to "html file to javascript"

Browse Popular Code Answers by Language