answersLogoWhite

0


Best Answer

The script tag will have the "src" attribute to identify the location of the script's contents.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which attribute is used in script tag to specify a file containing the java script statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you use the async attribute in html5?

The async and defer attributes are boolean attributes that indicate how the script should be executed. The defer and async attributes must not be specified if the src attribute is not present. There are three possible modes that can be selected using these attributes. If the async attribute is present, then the script will be executed asynchronously, as soon as it is available. If the async attribute is not present but the defer attribute is present, then the script is executed when the page has finished parsing. If neither attribute is present, then the script is fetched and executed immediately, before the user agent continues parsing the page.


How can we use script tag in java?

to implement javascript embed the statements between <script> n </script>,,, and include any scripting language. eg:<script LANGUAGE="javascript"> block of codes </script>


Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. <script type="text/javascript"> //JS code goes here </script> To call an external JavaScript file, use the "src" attribute, like so: <script type="text/javascript" src="path/to/script.js"></script> If you're unsure of where to put the JavaScript tags, see the related answer(s).


What are the two ways you can execute a shell script when you do not have execute access permission for the file containing the script?

To do this you will need at least read permission; if you don't have that then you will not be able to execute the script at all. One way is to copy the script to your directory and add the execute permission. The second way is to call the correct shell interpreter program directly, as in: ksh /some/file/shell


Which attribute for script elements is no longer required in HTML5?

The "type" element is no longer required for HTML 5. In the past, you needed to include the "type" element to notify the browser of the scripting language. It is optional for HTML 5.

Related questions

How do you use the async attribute in html5?

The async and defer attributes are boolean attributes that indicate how the script should be executed. The defer and async attributes must not be specified if the src attribute is not present. There are three possible modes that can be selected using these attributes. If the async attribute is present, then the script will be executed asynchronously, as soon as it is available. If the async attribute is not present but the defer attribute is present, then the script is executed when the page has finished parsing. If neither attribute is present, then the script is fetched and executed immediately, before the user agent continues parsing the page.


What are words containing the root word script or scrib?

subscribe script


What was the Roman script durong Roman civilization?

You need to specify what you mean by Roman script.


How do you specify the location of a PHP script?

Just put it in the right folder


Can you execute a shell script if you do not have read permission for the file containing the script?

No, the shell needs both execute and read permissions to run the script.


How many switch statements can you put in a PHP script?

As many as you like. Its unlimited. :)


What is the name of the Tamil script?

தமிழ் எழுத்து (thamizh ezuththu) Tamil script வட்டெழுத்து (vattezhuththu) Type of script predominantly containing circles used for tamil.


What is function in Java Script?

function in the scripting language can give an attribute to something to make it preform a task that you want it to handle.


What does the Tabindex attribute do?

The tabindex is a script which is used on websites with online forms. By adding this script to ones webpage, it would take a user through the form to input information. One can create the script so the form is filled in the order which the administer prefers.


What is Script Form?

Script form writing is used when someone is writing a play, movie, or radio show. It uses the names of the people to specify which line is theirs to speak.


Why you use documentgetElementByIddemo in java script?

DocumentgetElementByID is used to refer a attribute by it's id. This will get the element with the id defined anywhere in the page.


How can we use script tag in java?

to implement javascript embed the statements between <script> n </script>,,, and include any scripting language. eg:<script LANGUAGE="javascript"> block of codes </script>