To make your website dynamic you need to add an HTML script tag to your web pages. The tag adds javascript and jquery codes to the header or footer part of your website. You can define any dynamic query within the script open and close tag.
On the execution of the script, the browser performs a dynamic task. To confirm that the browser will handle and execute the script properly, do enable the javascript in the settings of your browser.
Syntax
1 2 3 |
<script> Enter a dynamic script code here... </script> |
Example
This is the example for html script tag with a content to show on output.
Test it Live
1 2 3 |
<script> document.write("This the content in the HTML to show the output of the script."); </script> |
Output