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
.
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