The <script> tag is most important for dynamic page. It is
use for adding capability of scripting language in HTML
document. Scripting language is use for client-side validation. With the help of
script's event, you can link form controls from script for providing graphical
User can not see the code of script. You can put it any where in HTML document either head or body. You can put script code either within document or outside the document.
|async||string||Specify script execute asynchronously|
|src||URL||Address of external script file.|
|defer||defer||script will be execute after loading page.|
|type|| MIME type
|define the type of script,|
|<script type=""> scripting code </script >|
<!doctype html >|
alert("Script embed page.");
<h1>script tag Example.</h1>
<p><b>Implementation of <script > in HTML5.</b></p>
<p><strong>Output of script code.</strong></p>
The <output> tag is available in both HTML5. It is not present in HTML4.01.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.