The syntax of JavaScript is the set of rules that defines correctly structured JavaScript program. The statements which JavaScript program consists are placed inside HTML tags. The JavaScript file is saved with a.js extension.
Tag: comments
Comments in HTML for web development
Comment is a piece of code which is ignored by any web browser. It is added to the code to add extra information about the code. It is a good practice to add comments into your HTML code, especially in complex documents, to indicate sections of a document, and any other notes to anyone looking at the code.