How to implement codes?

The HTML tag is used to insert a JavaScript into an HTML page.


<html>
<body>
<script type="text/javascript">
document.write("Hello World!");

</script>
</body>
</html>



The code above will produce this output on an HTML page: Hello World!