<script> is a tag used to put some executable code which is named as a script into the web age or HTML code.
HTML <script> tag
<script> element can either contain script statements or point to an external script file via the src attribute.
The following script will output “Hello World!” to the browser:
<script> document.write(" Hello World!");</script >
HTML <noscript> tag
<noscript> tag provides alternative content when scripting cannot be used, such as when scripting is disabled in the browser, or when the browser does not support client-side scripting.
<noscript> element can contain all elements found in the body element of a normal HTML page.
The content of the
<noscript> element will only be displayed if the browser does not support scripting or if scripting is disabled
document . write ( " <p>This is a paragraph.</p> " ) ;
< button type = " button " onclick = " myFunction() " > click me! </ button >
document . getElementById ( " demo " ) . style . color = " #ff0000 " ;
HTML script tags
|<script>||client script defined|
|<noscript>||Defines text that does not support scripting browser output|