Optimizing Pages with JavaScript and Style Sheets for Search Engines

Written by Dale Goetsch


Continued from page 1

A new page is then created that holdsrepparttar code that was formerly held inrepparttar 128030 SCRIPT tags. We will call it "codepage.js", and it looks like this.

function helloWorld(){ alert("Hello, World!"); return; }

Example 3—codepage.js includes only JavaScript code

This new file doesn't need any kind of HTML markup. It contains onlyrepparttar 128031 code that was originally held betweenrepparttar 128032 SCRIPT tags.

Style Sheet problem

In addition to JavaScript code, Style Sheet code can cause complications for Search Engines when it is put into a web page. Forrepparttar 128033 same reasons as JavaScript—movingrepparttar 128034 important content further downrepparttar 128035 page, and dilutingrepparttar 128036 keyword density—it is important to move Style Sheet code off ofrepparttar 128037 page as well.

Style Sheet solution

The thought behind removing Style Sheet information from a page is very similar to that of offloading JavaScript;repparttar 128038 syntax to do so is different.

The original page, "mypage.html", may look something like this.

My Title

...body of page...

Example 4—mypage.html with style sheet code

We want to move this code into a separate file, so we remove it fromrepparttar 128039 original page, and add a link to point torepparttar 128040 separate file that now holdsrepparttar 128041 Style Sheet code.

My Title

...body of page...

Example 5—mypage.html with Style Sheet code offloaded

Noterepparttar 128042 addition ofrepparttar 128043 LINK tag. This contains three types of information thatrepparttar 128044 browser will need to reconstructrepparttar 128045 page when a visitor looks at it. The "rel='stylesheet'" attribute/value pair indicates that we are looking at a Style Sheet file here. The "href='style.css' rel='nofollow'" attribute/value pair points torepparttar 128046 external file that containsrepparttar 128047 Style Sheet information. Typically these external files will be givenrepparttar 128048 filename extension ".css" to indicate that they contain Cascading Style Sheet code. You will replacerepparttar 128049 filename "style.css" withrepparttar 128050 name ofrepparttar 128051 actual file into which you place your stylesheet code. Finally, we have to specifyrepparttar 128052 MIME type ofrepparttar 128053 file, inrepparttar 128054 "type='text/css'" attribute/value pair.

A new page is then created that holdsrepparttar 128055 code that was formerly held inrepparttar 128056 STYLE tags. We will call it "style.css", and it looks like this.

body{ background:white; color:red; }

Example 6—style.css includes only Style Sheet code

This new file doesn't need any kind of HTML markup. It contains onlyrepparttar 128057 code that was originally held betweenrepparttar 128058 STYLE tags.

Conclusion

By following these two procedures, you have now made your web page more friendly torepparttar 128059 Search Engines. This means thatrepparttar 128060 next time your page is spidered byrepparttar 128061 Search Engine robots,repparttar 128062 important content on your page will be closer torepparttar 128063 top ofrepparttar 128064 page, and you will have a better keyword density. This will result in your page appearing higher inrepparttar 128065 Search Engine listings, and will probably bring more traffic to your website.

When you are ready to put your website to work for you, it's time to contact us.

Search Innovation Your Search is Over™ http://www.searchinnovation.com info@searchinnovation.com

Copyright © 2002 Search Innovation. All Rights Reserved.

Dale Goetsch is a Search Engine Marketing Consultant for Search Innovation, a Search Engine Marketing company serving small businesses. His background includes over twelve years as a software tester, as well as Perl, JavaScript and ASP programming.


Getting Honest With The Search Engines

Written by Daria Goetsch


Continued from page 1

A good maintenance plan will include providing a ranking report, tweaking keywords in your source code as needed for a monthly/six month/yearly fee and may also include log stats so you can see where your traffic is coming from and what keywords your visitors are using to visit your website.

Methods that work

Good content

Content is one ofrepparttar most important items you need for your website. Once visitors arrive, you need to keep them there. Adding keyword-rich text that makes sense and servesrepparttar 128029 concept ofrepparttar 128030 web page improves your ranking and keeps your visitors interested. The more text,repparttar 128031 better for Search Engine spiders when they index a website.

Good navigation

There is nothing worse than arriving at a website and having difficulty understanding where to go forrepparttar 128032 information you are seeking. Have easy to use, clearly marked navigation so your visitors click through instead of click-away in frustration. Search Engine spiders (robots) index text and links; having good navigation is important torepparttar 128033 indexing of your web pages.

Title/META tags

Individualized Title and META tags for each of your important web pages gives yourepparttar 128034 best chance for optimum success in ranking. Title tags are necessary for Search Engine ranking, in particular with Google's Search Engine. META tags have decreased in importance, but are worth using for clarity and search results. The META description is still used by some Search Engines asrepparttar 128035 default text indexed by Search Engine spiders forrepparttar 128036 search results. The keyword tag isrepparttar 128037 least important but is still used by some engines. My theory is, you never know whenrepparttar 128038 rules ofrepparttar 128039 Search Engines will change, or a new engine will want them, so takerepparttar 128040 time to include these tags in all your web pages.

Link popularity

Links from other popular websites back to your website are one way of increasing your site's popularity. Finding websites with similar content (but not your competitors) and high link popularity, then trading links to be posted on each site, is one way of increasing your site popularity. Good content is vitally important because visitors who stay longer while visiting a website help measurerepparttar 128041 popularity ofrepparttar 128042 site inrepparttar 128043 Search Engines.

Paid Inclusion

Paying a one-time fee or (as is most recentlyrepparttar 128044 case) a yearly renewable subscription fee to be included inrepparttar 128045 Search Engine results. Directories also use this style of service to accept submissions. Paid inclusion does not guarantee that you will be listed withrepparttar 128046 Search Engine or Directory, but gives a shorter time-line of acceptance if they do.

PPC (Pay-Per-Click)

Overture isrepparttar 128047 most popular PPC engine. You bid an amount per keyword phrase to getrepparttar 128048 highest ranking inrepparttar 128049 Overture search results compared to your competitors.

Google AdWords Select

Google AdWords is a program that uses your chosen keywords in an ad inrepparttar 128050 Google Search Engine results in order to promote click-throughs.

Log Stats programs

Having a log stats program is very helpful in tracking your visitors, finding which keywords they are searching on to enter your website, tracking which pages they leave from and much more. Analog is a good free log stats program. WebTrends is a popular paid logs program used by many businesses.

Free submissions take patience

After paying for inclusion, try submitting to some ofrepparttar 128051 secondary Search Engines and directories. Long before Google was a household word, I thought it might become popular and submittedrepparttar 128052 company website. It certainly paid off a year later when Google becamerepparttar 128053 best ofrepparttar 128054 upcoming Search Engines.

Another avenue to venture down are specialty directories. Asrepparttar 128055 web grows larger over time, specialty directories (also known as vertical portals or "vortals") focused on your business area may help you get more link popularity and your company name out torepparttar 128056 public.

Stay Honest

Stay honest, create good content and do your homework when hiring for services.

Using affordable Search Engine Marketing services you will add to your audience exposure onrepparttar 128057 web. In this way you will always be ahead ofrepparttar 128058 game and hopefully, ahead of your competitors.

*definitions supplied from Webopedia website: http://www.webopedia.com/

**definition supplied from Marketing Terms.com website: http://www.marketingterms.com/

When you are ready to put your website to work for you, it's time to contact us.

Search Innovation Your Search is Over™ http://www.searchinnovation.com info@searchinnovation.com

Copyright © 2002 Search Innovation. All Rights Reserved.

Daria Goetsch is a Search Engine Marketing Consultant for Search Innovation, a Search Engine Marketing company serving small businesses. Her background involves many years as a Search Engine Marketing Consultant, including three years as the Search Engine Specialist for O'Reilly & Associates.


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