We can use java script in html page by three method.
· In header section
· In body section (bottom of the body)
If we are using java script in header and body section then we must
Put our code between script tag.
But if we are using external jacvascript. Then we don’t need script tag.