Tuesday, March 30, 2010

Using External JavaScripts

It is best not to put any JavaScripts inside a web page. Placing JavaScripts inside a web page can cause clutter. Search engines normally cannot reach important content and information if you have a cluttered web site.

JavaScript is an object-oriented scripting language used to enable programmatic access to objects within different applications. It is normally implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites.

Despite the name (JavaScript), it is essentially unrelated to the Java programming language even though the two have numerous similarities. JavaScript is a trademark of Sun Microsystems. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.

Search Engine Optimization professionals suggest to place all JavaScripts in an external file. It is best to use external JavaScripts for various reasons. According to Search Engine Optimization for Dummies: 3RD edition by Peter Kent, these reasons include:

They’re safer outside the HTML file – they are less likely to be damaged while making any changes to the HTML
JavaScripts are easier to reuse – simply store the script externally and change the external file to automatically change the script in any number of pages
They are easier to manage externally – place all of the scripts in one directory for better organization
The download time is slightly shorter – If you use the same script in multiple pages, the browser downloads the script once and caches it.
Doing so removes clutter from your pages!

About CODANK Charlotte Web Design

CODANK is a top Charlotte Web Design and Internet Marketing Company located in Charlotte, NC. The company is dedicated to providing a broad range of web design services. CODANK specializes in Search Engine Optimization (SEO), Graphic Design, Online Marketing, and Web Design and Development.

For more information, visit CODANK Charlotte Web Design and Internet Marketing Company at www.codank.com

No comments:

Post a Comment