Introduction
How to write statement in JavaScript.
Example
How to write statement in JavaScript.
Example
<html>
<body>
<h1>My Web Page</h1>
<p id="demo">A Paragraph.</p>
<div id="myDIV">A DIV.</div>
<script>
document.getElementById("demo").innerHTML = "Hello Dolly";
document.getElementById("myDIV").innerHTML = "How are you?";
</script>
</body>
</html>
|
0 comments :
Post a Comment