Programming Code Center(PCC)
[JS]

(PCC)::[How-JavaScript-statements-are-commands-to-the-browser]::[js]

File Name : index.html

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript Statements</h2>

<p>In HTML, JavaScript statements are executed by the browser.</p>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = "Hello Dolly.";
</script>

</body>
</html>

Output :

JavaScript Statements

In HTML, JavaScript statements are executed by the browser.