Computer Program is a set of “instructions” to be “executed” by a computer.
In programming languages, these programming instructions are called as “Statements”.
Operators, values, Keywords, Expressions and comments.
Below statement tell the browser to write “Hello World” inside the HTML element with id=“demo”.
All statements are executed from top to bottom, one by one, in same order as they are written.
Add a semicolon at the end of each executable statement.
Multiple statements are allowed on one line if they are separated by semicolons.