Как войти в JS в HTML
<script>
document.write("Welcome to Javatpoint");
</script>
Dizzy Dormouse
<script>
document.write("Welcome to Javatpoint");
</script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Embedding JavaScript to the Head Section</title>
</head>
<body>
</body>
</html>