Connect With Us

ads

Thursday, 3 November 2016

How to Put Java Script Inside html

There are two ways to use the <script> element
1- Put Java script code directly into the page within <script> tags.
2- Include JavaScript from an external file                    
.   Java Script contained inside a <script> element
    is interpreted from top to bottom.
The rest of page is not loaded or displayed until after
 all the code inside the <script> element has been evaluated  Inline Java Script Example


.

No comments

Post a Comment