Want to know more about us and our multimedia, animation & web design courses, feel free to Contact Us. We would love to hear from you.
For testing purposes, it is convenient to use document.write():
Write some text directly to the HTML document, with a new line after each statement (using <br>):
document.write("Hello World! <br>");
document.write("Have a nice day!");
Write HTML elements with text directly to the HTML document:???
document.write("<h1>Hello World!</h1><p>Have a nice day!</p>");
Write the Date object directly to the HTML:
|Monday To Friday||8:00 Am To 8:00Pm|
|Saturday & Sunday||8:00 Am To 5:00Pm|