HTML tag to define a client - side script such as Javascript - HTML

Q.  Which HTML tag is used to define a client - side script such as the Javascript?
- Published on 26 Aug 15

a. <script>
b. <unscript>
c. Both A & B
d. None of the above

ANSWER: <script>


  • Nirja Shah   -Posted on 10 Nov 15
    <script> tag
    - This tag defines the client-side script such as Javascript.

    - This element either contains the scripting statements or points to an external script file through the src attribute.

    - The common uses for Javascript are image manipulation, form validation and dynamic changes of content.

    <noscript> tag
    - This tag provides an alternate content for users that have disabled scripts in their browsers or the browser is not supporting the client-side scripting.

    - This element contains all the elements that you can find inside the <body> element of a normal HTML page.

    - The content inside this element will only be displayed if scripts are not supported or are disabled in the users browsers.

Post your comment / Share knowledge

Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)