Using document write method



Using document.write()
For testing our  JavaScript coding on web page to use document.write() :

<!DOCTYPE html>
<html>
<body>

<h1>My First Web Page</h1>
<p>My first paragraph.</p>

<script>
document.write(5 + 6);
</script>

</body>
</html>


Comments

Popular posts from this blog

right side toggle by js, toggle from ride side by js, toggle js for website, form toggle from right side js, js for form toggle from right side