HTML Tutorial in Hindi [Part 46] – script and noscript tag | How to add script in html webpage



In this tutorial i will talk about script and noscript tag. How to add script in html webpage.

Script tag: The script tag is used to embed a client-side script (JavaScript). The script element either contains scripting statements, or it points to an external script file through the src attribute. Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.

Noscript tag: The noscript tag defines an alternate content to be displayed to users that have disabled scripts in their browser or have a browser that doesn’t support script.

The noscript element can be used in both head and body. When used inside head, the noscript element could only contain link, style, and meta elements.

Comments are closed.