Requirements to run the programme:
–>Notepad++/Notepad
–>any browser
same as HTML.
Embedding Java Script in HTML:-
–>Java Script is case sensitive.
–>Use tag.
–>To put the Java Script in HTML use as below
–>To print any statement we will use
document.write(” “);
–>Semicolon indicates end of the statement.
Comments:
–>For single line comments use this //
–>For multi line comments use this /* */
HTML Tags:
we will write the HTML tags inside the quotation marks.
Example to explain above
Output:

