Last Updated on April 26, 2023 by Roshan Parihar
HTML script tag is used to specify javascript code inside html document for some dynamic events.
If we want to do some dynamic task we need to use some script. This script contains some javascript or jquery code which on running give some dynamic output.
Syntax
1 |
<script>Enter some script code here</script> |
1 2 3 |
<script> document.write("This is the output of the script."); </script> |
Output
Resources and References of HTML script tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github