Is There Any Special Place to <script> Tag.
Need to put scripts inside <head> or <body> elements.It is possible to use both places at one time.
Also one or more scripts may be inside <head> and <body>.
This example contains a scripts inside <body> tag.
Just Checkout - JSFiddle
Lets see how to put scripts inside <head>
You can follow this example it has a button when it click function is invoke.That function is inside <head> element.
Just Checkout - JSFiddle
You can follow this example it has a button when it click function is invoke.That function is inside <head> element.
Just Checkout - JSFiddle
No comments:
Post a Comment