+ 4
How to use java script with html?
Give me a short program so I can understand better.a nd it's explanation.if possible.
4 Respostas
+ 9
U should embed the js into html file....
https://www.w3schools.com/html/html_scripts.asp
Try this
+ 2
<DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id= "testing">
</div>
<script type="text/Javascript">
var object = document.getElementById("testing");object.innerHTML="hello world!";
</script>
</body>
</html>
may be this could be of help to you.
+ 2
Pls try that one thanks for your notification!!
+ 2
These lessons will help you:
https://www.sololearn.com/learn/JavaScript/1125/
https://www.sololearn.com/learn/JavaScript/1206/