Basic Syntax of javascript - Informatic Point

Basic Syntax of javascript

The basic syntax of JavaScript is an object-oriented language, which is used on various websites for scripting web pages. It is a simple full-filled programming language that enables vital features on web pages when applied to an HTML web document. It was developed by Brendan Eich
in 1995 for putting a program to the web pages in the Netscape guide browser. With Javascript, you can build a modern style of web applications to interact directly without loading web pages every time.

However, Javascript has no more connectivity with java programming languages. The name was recommended and provided in the time when java was rising in popularity in the market. In addition, to web browsers, databases like MongoDB and CouchDB uses Javascript as their scripting and query language.

The HTML <script> tag tells the browser program to begin analyzing all the text between these tags as a script. A simple syntax of your JavaScript will display below.

Features of JavaScript:

  1. All web browsers support Javascript language as they give a good run time environment.
  2. Javascript follows the syntax of the C and C++ languages.

Now we see its syntax. “Let’s take a look”.

<script> 
document.write("Basic Print method in JavaScript"); 
</script> 

You can run live above example. For instance, After the run see the output. For more updates. Please do not forget to subscribe to our newsletter for further informative programming tutorials.
Best Of Luck, Keep learning javascript. Basic Syntax Of Javascript.

Leave a Reply

Your email address will not be published. Required fields are marked *