answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What are the three plases that a JavaScript file can be used?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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).


How can you insert javascript into an HTML document?

Here are two examples of internal and external calling of javascriptInternal Calling (Not Recommended)// Your javascript code ehreExternal Calling (Recommended)


What is javascript cokies?

A "Cookie" is a small file that is sent to your computer by websites. Most of the time, they are harmless. They are often used for remembering log-in credentials (Username and passwords), remembering to keep you logged into an account, any many other uses. A "JavaScript" cookie is a cookie sent by the JavaScript language.


Can javascript be used in Jtextpane in swing?

No. JavaScript can be used only in HTML and other Web Components


How is javascript used?

JavaScript is used to make HTML DHTML or Dynamic HTML. Provides a lot more interactivity between the web page and the browser provided JavaScript is not turned off.

Related questions

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).


How can you insert javascript into an HTML document?

Here are two examples of internal and external calling of javascriptInternal Calling (Not Recommended)// Your javascript code ehreExternal Calling (Recommended)


What is javascript cokies?

A "Cookie" is a small file that is sent to your computer by websites. Most of the time, they are harmless. They are often used for remembering log-in credentials (Username and passwords), remembering to keep you logged into an account, any many other uses. A "JavaScript" cookie is a cookie sent by the JavaScript language.


What unit is used for timing Javascript events?

Milliseconds are used for timing JavaScript events.


Can javascript be used in Jtextpane in swing?

No. JavaScript can be used only in HTML and other Web Components


What are the main functions of Javascript?

Javascript can be used on a variety of platforms which require simple computer commands but not a full programming language. Javascript can be used as or in addition to a full fledged programming language.


How is javascript used?

JavaScript is used to make HTML DHTML or Dynamic HTML. Provides a lot more interactivity between the web page and the browser provided JavaScript is not turned off.


What are the three steps that must be taken when a file is used by a program?

1. Open the file, Process the file, Close the file


Do you need java compiler to execute HTML programs written in javascript?

No, Java and JavaScript are nothing to do with each other, JavaScript is a form of EMCAScript, not Java. Every modern browser comes with a JavaScript engine that is used to understand JavaScript. so there is no need for it, no.


What is the use of id in javascript?

ID in JavaScript can be used to refer a control. For example getElementbyID("#name-of-id").


What is Undefined in javascript?

In JavaScript undefined is a special value used when a variable has not had a value set to it, or has not been declared.


What programming language is used for webOS applications?

HTML5, JavaScript, CSS