answersLogoWhite

0

Where are javascripts placed in HTML documents?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

JavaScripts are typically placed in the HEAD section of an HTML document. However, if the script doesn't use a document.write call, it's better to place it just prior to the closing BODY tag. This moves the script down, speeding up page load and improving SEO.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where are javascripts placed in HTML documents?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does it mean to do HTML submit?

HTML means Hypertext Markup Language. The tag is used for various javascripts and Java programs. HTML submit is a form of a script in Java programming.


List of back end programming languages?

HTML,CSS, Javascripts are few front end programming languages.


What contains HTML documents?

The web contains the HTML documents inn abundance. Most of the static pages are made in HTML.


What refers to the sequential storage of HTML documents and files making up the web page and placed in the hierarchy of directories and folders on the web server?

path


What type of files are HTML documents?

HTML documents are plain-text files, usually encoded in UTF8 format.


What is a HTML translator?

A HTML Translator is a tool to translate your HTML documents into other languages.


Differentiate HTML tag from an HTML documents?

HTML tags are used to delimit HTML elements inside an HTML document.


What extensions are added to basic HTML documents?

.htm, .html, .xhtml


What do you mean by HTML header?

HTML header is placed on the top of a HTML page. It is wrapped inside the <head> element.


What is a HTML elements?

HTML tags and their respective attributes are used to create HTML documents so that you can view them in browsers and other user agents.


Notepad won't let me save my HTML document?

See if you have access rights to save documents to the PC. There is no specific restriction with respect to HTML documents and saving them using notepad.


What kind of documents are electronic file that contain element that you can select usually by clicking a mouse to open other documents?

HTML documents.