Example 11

<!DOCTYPE html>

<html>

<body>

<h2>HTML JS OUTPUT</h2>

<p>1st Paragraph.</p>

<p id="HTMLJSOUTPUT"></p>

<script>

document.getElementById("HTMLJSOUTPUT").innerHTML = 7 + 7;

</script>

</body>

</html>


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *