<!DOCTYPE html >
<html>
<head>
<title>Softhunt.net</title>
<script>
document.write("Welcome to Softhunt.net Tutorial Website");
</script>
</head>
<body>
<p>In this example we saw how to add JavaScript in the head section </p>
</body>
</html>