Need to be found on the Web?

Contact Us for:

web marketing
search engine optimization

SEO - HTML Blog - Tutorial

We will from time to time attempt to include information we have found to be useful as a guide to Search Engine Optimization, beginning with basic HTML principals.



Thursday, December 21, 2006

A Note on Javascript

In the course of web design, it has become popular to include various javascript code snippets to perform various functions within a site; often they can be used for browser-compatibility checks, basic dynamic content, and to provide the most accurate and accessible webpage to a viewer based on pertinent data provided to the server. These scripts are often called inline from the HTML within a site; in the interest of bandwidth, it is a good idea to avoid this whenever possible.

Taking a javascript program and putting it into an external file, then calling this script in a webpage header instead of writing out the entire script inline, serves to cache the script instead of forcing the browser to reload it every time a page is reloaded, especially if every page on a site calls the same set of scripts.

If embedding is required, be very careful to properly bracket the script.

<script type="text/javascript" language="JavaScript">

is the correct method of declaring an inline javascript snippet. Often, WYSIWYG code editors may mangle this declaration, often omitting type="text/javascript" entirely. This informal style is one of the most significant causes of erratic javascripts, and should be strictly avoided.


Web Marketing Services

Web marketing, including Search Engine Optimization ( SEO ) is our speciality.

If you are interested in our services please contact us through the "Contact Us" link above.

Toronto Web Services





Necessary Tools and Sites


HTML - Kit




toronto web services
25 dunblaine avenue
toronto, ontario canada
m5m 2r6


Mission Statement

In a world dominated by the internet, design and compatibility are crucial to a company's success. Care must be taken to properly and formally code a webpage, so it works across the board on a variety of systems, and is still fully compatible with the latest search and information management technologies. This weblog will teach designers the fundamentals of such coding, including the crucial need for proper validation, the methods in which one can create code which requires less debugging after the fact, and the methods in which Search Engine Optimization can be used to promote the stature of a company within a page of otherwise nondescript search results.





© 2003 - 2009 TorontoWebServices™ Toronto | Ontario | Canada. All rights reserved

home - ecommerce services - web marketing - fees - coding -toronto seo - toronto directory - condos - cosmetic medicine - SEO HTML Tutorial - toronto search engine optimization - toronto condos - toronto waterfront condominiums - laser hair removal toronto - toronto lawyers - financial planning canada - toronto tickets - niagara - transcription services - worthwhile causes - green - toronto cars - toronto restaurants - toronto dentists - toronto entertainment - plastic surgery - payday loans

Branding and graphic design: Basis | Photography: Sai Sivanesan

Google™ Yahoo!® MSN®

Valid HTML 4.01 Transitional Valid CSS!