Using External Coding To Improve Search Engine Placement

Written by George Peirson


Continued from page 1

Both of these problems can be solved simply by using external files. You create one external file for your CSS and another file for your JavaScript. These could be named mysite.css forrepparttar CSS and mysite.js forrepparttar 146780 JavaScript. These files can be created in any plain text editor or html code editor, they are nothing more than files that contain most ofrepparttar 146781 CSS or JavaScript code fromrepparttar 146782 web pages.

With JavaScript you have an opening JavaScript tag, then a comment tag, then assorted functions and what not, followed by a closing comment tag and a closing JavaScript tag. Your external file would start withrepparttar 146783 opening comment tag, contain allrepparttar 146784 functions and such, and end withrepparttar 146785 closing comment tag. You would leave bothrepparttar 146786 opening and closing JavaScript tags inrepparttar 146787 html page. If you have more than one JavaScript onrepparttar 146788 page you can move allrepparttar 146789 code into one external js file. Simply copy it intorepparttar 146790 file inrepparttar 146791 same order as it exists inrepparttar 146792 JavaScript tags onrepparttar 146793 html page. You will only needrepparttar 146794 one pair of opening and closing comment tags.

Once your JavaScript is moved offrepparttar 146795 page you will need to tellrepparttar 146796 web page where to find it. This is done inrepparttar 146797 JavaScript tag that was left onrepparttar 146798 page inrepparttar 146799 head section. Right now this will be an opening JavaScript tag placed right up againstrepparttar 146800 closing JavaScript tag, with no additional code in between. You will placerepparttar 146801 reference torepparttar 146802 external JavaScript code insiderepparttar 146803 opening JavaScript tag like this:

script language="JavaScript" type="text/JavaScript" src="mysite.js"

Placing CSS styles in an external file is handled in exactlyrepparttar 146804 same manner. Moverepparttar 146805 styles intorepparttar 146806 external file, and then refer to that external file with your style tag inrepparttar 146807 head section ofrepparttar 146808 web page like this:

link href="mysite.css" rel="nofollow" rel="stylesheet" type="text/css"

An added benefit of movingrepparttar 146809 code into external files is that you can then changerepparttar 146810 styles of your whole site simply by changingrepparttar 146811 code inrepparttar 146812 one external file.

Once you have movedrepparttar 146813 code into external files you will have greatly simplifiedrepparttar 146814 code on each page. This will take you a long way towards making your pages lean and mean, and very search engine friendly.

You can find sample external files for this article on my web site at: www.howtogurus.com/free-articles.html

Copyright 2005 - George Peirson

George Peirson is a successful Entrepreneur, Internet Trainer and author of over 30 multimedia based tutorial training titles. Read more articles by George Peirson at www.howtogurus.com/free-articles.html


Forums - Talk And Make Money

Written by Steve Gillman


Continued from page 1

2. Don't "spam." Sales pitches will be removed. Offer honest advice, or express an opinion, then sign off with your name andrepparttar link to your site.

3. Ask for help from others. This is an effective and acceptable way to "advertise." Enter a topic like "Can I get some advice?" and post something like, "I just started a meditation site. If some of you would visit and tell me what you think, I'd really appreciate it." Have a link torepparttar 146539 site. People love to help, and to give opinions, and they'll click on those ads while they're at your site.

4. Look at total "views." Many forums showrepparttar 146540 total times each "thread" has been viewed. When you see some with many more than others, get in on those, or start a new thread onrepparttar 146541 same topic. Go whererepparttar 146542 traffic is, and get some of it.

I didn't likerepparttar 146543 idea of forums until I made a few posts, and saw my traffic and revenue climb for days afterwards. That convinced me. Just be polite, offer some value to others, and always have a link to your site. Many other secrets of using forums are covered in my newsletter, but this should be get you started. Talk and make money today.

Steve Gillman writes on many money-related topics. To learn more, and to subscribe for FREE to "Web Site Optimization Secrets," go to: http://www.TheMoneyMakerSite.com


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use