Free articles
Google
Web www.media13.com


Media13.com is a source of free to republish or reprint articles, writers may submit your articles in our database as long so you agree that your article will be freely republish or reprint by other.


Submit Article

Search our database

Received article from us.

Name

Email Address

Friends

Bollywood News
Link building
Article submission service
Freelance Writers
Laser hair removal

We have been looking for freelance writers. Contact us

 


Using External Coding To Improve Search Engine Placement   by George Peirson



Do you have lots of JavaScript coding in the header section of your web pages? Do you re-list your CSS styles at the top of every page? Do you have JavaScript coding spread throughout your web pages?

If you answered yes to any of these questions your site may be driving away search engine spiders and losing search engine position ranking.

As you can imagine search engine spiders have a lot of pages to get through on the web when they are indexing sites. To improve their speed and efficiency search engines program their spiders to give up easily if they have problems with a page or if they have to wade through too much code to find the relevant content.

This is one of the reasons why it is so important to put your keywords as close to the top of the page as possible. This way the search bot will see the keywords before giving up and moving on to the next page.

But what do you do if you have lots of JavaScript code or CSS styles pushing your keywords down the page in your coding? You need to find a way to cut down on all that code that gets in the way of the search engines properly indexing your page.

We do this by moving the JavaScript and CSS styles off the page and into external files. This is a fairly easy and straight forward process and can have the added benefit of making your pages load faster as well, which the search engines also like.

In many ways CSS styles and JavaScript work in a similar fashion. You set up functions in a script or formatting in a style sheet section, and then refer to that section in your html code. For instance if you have a JavaScript that displays a clock on your page you would have the JavaScript functions for the clock listed in your head section, then you would simply call that function from the place on the page where the clock would be displayed.

Similarly with CSS you set up your styles ahead of time in a Styles section of the page head, then you simply refer to the styles as needed in your html coding. One benefit of this is that it cuts down dramatically on the amount of formatting code needed when compared to using Font tags.

If you want to use the same JavaScript or CSS styles on a different page you could copy all that code onto the new page. But this would cause two distinct problems, first you would be adding a lot of code to each page and second if you wanted to make a change to the JavaScript or CSS styles you would need to do so on every page that the code had been copied onto.

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 for the CSS and mysite.js for the JavaScript. These files can be created in any plain text editor or html code editor, they are nothing more than files that contain most of the CSS or JavaScript code from the 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 with the opening comment tag, contain all the functions and such, and end with the closing comment tag. You would leave both the opening and closing JavaScript tags in the html page. If you have more than one JavaScript on the page you can move all the code into one external js file. Simply copy it into the file in the same order as it exists in the JavaScript tags on the html page. You will only need the one pair of opening and closing comment tags.

Once your JavaScript is moved off the page you will need to tell the web page where to find it. This is done in the JavaScript tag that was left on the page in the head section. Right now this will be an opening JavaScript tag placed right up against the closing JavaScript tag, with no additional code in between. You will place the reference to the external JavaScript code inside the opening JavaScript tag like this:

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

Placing CSS styles in an external file is handled in exactly the same manner. Move the styles into the external file, and then refer to that external file with your style tag in the head section of the web page like this:

link href=`mysite.css` rel=`stylesheet` type=`text/css`

An added benefit of moving the code into external files is that you can then change the styles of your whole site simply by changing the code in the one external file.

Once you have moved the code into external files you will have greatly simplified the 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

Author Info:

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


Latest 20 articles

Hire the California Labor Board or California Labor Law Attorneys - You Decide With a downturn in the economy, many employers are cutting back on payroll. Unfortunately, some employers are reducing payroll costs by violating the California overtime laws. When this occurs, employees have essentially two options to recover their California overtime pay: the California labor board, or hiring California labor law attorneys. Although the California Labor Board is a commonly

Hiring a Car At Bangalore - Is More of Necessity Than A Luxury Your sedan is probably the best materialistic thing that you own and while going to a new place, that is what you ought to miss the most but if you are going to Bangalore then you probably have a option of getting a replacement so that you don’t miss it all that most because it will be as comfortable and as obedient as your own car and the Bangalor

How to Choose a Car Rental Company in Bangalore Bangalore is a place that lists one of the best as far as infrastructure is considered in India as it is the IT hub of India and thus the roads to drive is atmost pleasure and thus if Bangalore is the destination that you are planning for next then the best way to move around is by hiring a car. To hire is car is very simple if it is in Bangalore because there are some very good car rental compani

Car Rental Companies in Bangalore If you are travelling to Bangalore and hiring a car is what worrying you then you can be relaxed because this is one service that you will easily get in Bangalore and that too at very affordable and economic prices. Basically there are really good car rental companies in Bangalore available for renting the cars and you can either book in advance or go there and hire a car for yourself. Also, you h

Tips to Hire a Car in Bangalore One thing that most of us agree is that the fact that the most comfortable way to move around at any place is by your own vehicle but what if you are going to a new place, it is not possible to carry your vehicle along with you and you actually cannot trust too much on the public transportation system and at such situation the best possible option is to hire a car for yourself, at some places it c

Hire a Car: Comfortable Way to explore Bangalore If you are out to a new place than the first thing that comes into your mind is a comfortable accommodation and then the second one on the priority list is a comfortable way to move around in the city and if Bangalore is your preferred location, than you’ll be having options for both of the facilities, but if we specifically speak about the second one that is moving comfortably than the best opti

Car Rental – A convenient mode of transport in Bangalore Bangalore, a place which probably is considered one of the best places in India as far as infrastructure is considered and reasons are many for that, one is because of the IT hub that it is and also because it is one of very good places if you are considering holidays and because of this very good facility provided for the people visiting Bangalore is that you have many options in case if you are

Rent a Car in Bangalore: Take the Right Decision In today’s world, time is money; the more you save it better it is for you. And in that case if you are going to another place where you are not too familiar with the surroundings, then instead of wasting time on travelling by locating and travelling by public transport is to hire a vehicle for yourself. This helps in many ways, one it saves on time and also it moves at your pace so you don’t have

Bangalore Car Rental: Save Your Time When you are at an unknown place or for that matter known place and time is your major factor of concern then, the best way to save on time is by having your own vehicle for conveyance. This gives you freedom to move at your own pace and wish. And for that matter if you are at a place like Bangalore where the roads are so beautiful that it is a sheer pleasure to travel through your own rented vehi

Best Package Tours to Kerala Kerala – God’s own country which means heaven for those who appreciate the real untouched, naïve beauty of nature and if you are one of those than consider Kerala as the option for you next holiday. Kerala gives an option to explore the nature to the fullest because it has all the places where you can explore the nature be it scenic beaches or the hill stations or the ethnic culture, just everythi

Kerala Tour: A Getaway from Regular Stress If you are tired of daily stress and meetings and looking for a getaway so that you snatch some time for yourself with your loved one’s than Kerala holidays is the perfect is the perfect thing for you. Its calmness and closeness to nature would give you that much needed peace of mind that you always wanted. Also along with enjoying the beauty of this scenic place on your holidays to Kerala you can

Kerala Tour Packages: Have A Look If holidays are on your mind, then Kerala is one option that you cannot choose to neglect. Because Kerala is one place that offers you all from calm and serene natural places to exciting sports to exotic beaches and also beautiful hill stations, everything provided at one place which is also known as god’s own country. And obviously such wide range of activities would make it a tough job to cover

Kerala Holidays: Places To Visit Kerala also known as God’s own country, the name itself is synonymous with heavenly experience and to see this heavenly place all you have to do is pack your bags and head straight away to Kerala. Kerala is a place of multiple opportunities of which you can select the ones that interest you the most and design your own package for your Kerala tour. You can come to Kerala for various reasons and th

An Overview to Kerala Tourism Life’s a journey and to keep moving there are occasional breaks that you need to take and if you are looking for one of those breaks than Kerala holidays is one place that is your answer. Be it a family vacation or honeymoon tour or just a getaway with friends, this is one place that provides with ample opportunities for every kind of vacation. In fact there is so much to do and see that you will

Kerala : Popular Travel Destinations Kerala holidays is one thing that you should treat yourself and your family at least once and once you go to Kerala, you’ll have that craving to go back again and again, such is the charm of god’s own country that is Kerala. To give you a glimpse of what all Kerala have to offer to its visitors, let’s start with the most famous tourist hot spot i.e. Munnar, a place which is famous for its tree and

Kerala : Welcome To GOD’S Own Country If serene and calm beauty of nature is what’s on your mind then, Kerala is just the place you are looking for. It is so pristine and pure that it is called God’s own country. Greenery spread everywhere till your eyes can see; picturesque views, fog in the morning etc. are some of the first things you will notice when you step in Kerala. Kerala Tou

A California Labor Law Attorney: Just What You Need in Times of Trouble! In a time where California labor law is constantly changing and employers are playing it “fast and loose” in order to make ends meet, a California labor law attorney may be just what the doctor ordered to explain the complex California overtime laws. With a weakening economy, and jobs being shipped overseas, it is not uncommon to see rampant abuse of the California overtime laws. Employers r

Tax Debt Help Needed - How Can I Stop an IRS Bank Levy? The IRS does give you ample warning that they intend to levy your bank account. You undoubtedly received the notice and demand for payment from the IRS which included the amount you owed in back taxes. You probably did not contact the IRS at that time, and that was very important. The next communication you received was called the “Final Notice” which did express their Intent to Levy and also inc

California Labor Laws: Asserting Your Employee Rights Many employees when experiencing a labor violation are confused as to where to turn and typically take one of four paths. 1. A very common path and usually the most treacherous, is doing nothing at all. When an employee is hesitant to hire California overtime lawyers or California labor law attorneys to handle a situation, it usually gets worse before it gets better. Complacency will typicall

California Overtime Laws: Top 4 Common Employer Mistakes A California labor law attorney has revealed the four most common mistakes that employers make in violation of California overtime laws. Although California labor laws for breaks and lunches are clear, nevertheless employers tend to overlook something as simple as giving their employees a meal or rest break. While this is only one of our top three violations, it is often the most overlooked.

Categories
Acne
Advertising
Advice
Aerobics-Cardio
Affiliate Programs
Alternative
Arts
Attraction
Auctions
Audio-Streaming
Autos
Awards
Babies-Toddler
Beauty
Blogging-RSS
Book-Marketing
Branding
Breast-Cervical-Ovarian-Cancer
Broadband-Internet
Build-Muscle
Business
Cancer
Careers-Employment
Casino-Gambling
CGI
Coaching
Coffee
College-University
Colon-Rectal-Cancer
Communications
Computers
Cooking-Tips
Copywriting
Crafts-Hobbies
Creativity
Credit
Cruising-Sailing
CSS
Currency-Trading
Customer-Service
Dating
Debt-Consolidation
Debt-Relief
DHTML
Diabetes
Direct Mail
Divorce
Domain Names
EBooks
ECommerce
Education
Elder-Care
Email-Marketing
Email Entertainment
Entrepreneurialism
Environment
Exercise
Ezine-Marketing
Ezine-Publishing
Family
Finance
Fishing
Fitness
Food
Free
Games
Gardening
Goal-Setting
Golf
Government
Grief-Loss
Hair-Loss
Happiness
Hardware
Health
Hobbies
Holidays
Home-Security
Homes
Home Business
Home Repair
HTML
Humanities
Humor
Innovation
Inspirational
Interior-Decorating
Internet-Marketing
Javascript
Kids And Teens
Landscaping-Gardening
Law
Leadership
Leases-Leasing
Legal
Leukemia
Link Popularity
Loans
Lung-Cancer
Lymphoma-Cancer
Management
Marketing
Marriage-Wedding
Martial-Arts
Medicine
Meditation
Men's-Issues
Metaphysical
MLM
Mobile-Cell-Phone
Mortgage-Refinance
Motivational
Multimedia
Music
Negotiation
Network-Marketing
Networking
News-and-Society
Newsletters
Nutrition
Off-Line Promotion
Online Business
Online Promotion
Organizing
Other
Outdoors
Page Rank
Parenting
Personal-Tech
Pets
Photography
Podcasting
Poetry
Politics
Positive-Attitude
PPC-Advertising
Presentation
Prostate-Cancer
Psychology
Public-Speaking
Publishing
Real-Estate
Recipes
Recreation
Reference
Relationships
Religion
Sales
Sales-Management
Sales-Teleselling
Sales-Training
Satellite-Radio
Satellite-TV
Scams
Science
Security
Self Help
Self Improvement
Sexuality
SE Optimization SE Positioning
SE Tactics
Shopping
Site-Promotion
Site Security
Skin-Cancer
Small-Business
Social Issues
Society
Software
Spam
Spirituality
Sports
Stocks-Mutual-Funds
Strategic-Planning
Stress-Management
Structured-Settlements
Success
Supplements
Taxes
Team-Building
Technology
Teleseminars
Time-Management
Traffic-Building
Traffic Analysis
Travel
Uterine-Cancer
Vacation-Rentals
Video-Conferencing
Video-Streaming
Viral Marketing
VOIP
Web-Development
Webmasters
Web Design
Web Hosting
Weight Loss
Wine-Spirits
Women
Writing
Yoga

Copyright © media13.Com  2005. All Rights Reserved.

Sources : SEO India - Internet web directory