Statement
is an executable statement, statements in Javascript are terminated using ‘;’.
statements.html
<!DOCTYPE html> <html> <head> <title>Variables</title> </head> <body> <script type="text/javascript"> document.write("Hello World" + "<br />"); document.write("Hello PTR"); </script> </body> </html>
In the
above example, below are the java script statements.
document.write("Hello
World" + "<br />");
document.write("Hello
PTR");
No comments:
Post a Comment