search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
22 views
asked Expert 15k points 15 23 30

1 Answer

0 votes
This element contains the scripts that will be executed in the page, and it can occur in either the <head> or the <body> section of the page.

Example

<html>
<head>
<script language="javascript" src="yourlinkedjavascriptfile.js"></script>
<script id="script1" language="javascript">

     //scriptcode declarations

</script>
</head>
<body>
     <script id="script2" language="javascript">
     
          //script code declarations
     
     </script>
</body>
</html>
answered Geek 15.3k points 16 41 63

Related questions

0 votes
1 answer 49 views
49 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 39 views
39 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 36 views
36 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 32 views
32 views
asked smith Geek 15.3k points 16 41 63
0 votes
1 answer 36 views
36 views
asked smith Geek 15.3k points 16 41 63
...