Photo Gallery

Thursday, April 5, 2018

Embedding JavaScript into HTML Page.

In this tutorial, we will see how to include Java Script into your HTML web page or an Index.html page for your website or any kind of application which uses HTML.


When the page start rendering into browser, it recognize Java Script and also recognize the ... tag.

This tag should goes into your of your HTML page/document, along with your tag.

Let's check syntax for Java Script,

1
First Example with Java Script :


2

   Example with Java Script in section 


3


Loading Java Script File from an External File :


4

This is how you can use JavaScript in your web app or any application.


If you have any questions, post here. Also, provide your valuable suggestions and thoughts in form of comments in the section below.

Thank you !!!


No comments:

Post a Comment