Netconcepts

Specialists in SEO, web dev, online marketing

Book A Free Strategy Call
  • About
    • Problems We Solve
    • Who We’re Not a fit for
  • Services
  • Results
  • Learn
    • Learning Center
    • Courses
    • Blog
    • Podcasts
  • Press
  • Contact

Optimize your HTML for Search Engines

SEO can be broken into two distinct areas — “onpage” factors and “off-page” factors. On-page factors include anything that you can affect on the page itself, such as the title tag, body copy, H1 heading tags, image “alt” attributes, etc.

Off-page factors encompass things that influence rankings but are not on the page itself, such as PageRank score and anchor text, better known by the layman as link text. When you are optimizing the on-page factors, you start with keyword research to identify the keyword markets that you should go after (as discussed in my “Keyword Sleuthing” article in the November issue). You craft prose targeted at those keyword markets (see my “Writing for the Search Engines” article in the December issue).

Keyword-rich prose isn’t enough though. In order to give your content its best shot at ‘singing’ to the search engines, you’ll need to optimize your HTML templates. Of course this all presumes that your ecommerce platform is friendly to search engine spiders (my “Avoid Complex URLs” article in last month’s issue). Here’s a quick guide on how to optimize your HTML, step-by-step:

Make sure each page can sing a unique song

The worst kinds of HTML templates have title tags and Meta data (such as the meta description) hard-coded so that they are the same across all pages that use that template. Make sure that your title tag, Meta description and H1 heading tag can be assigned on a per page basis, thus unique to the specific page in question.

Strip out extraneous HTML code

Superfluous code in your HTML negatively impacts your search engine rankings by pushing your good keyword rich copy further down the page thus lowering keyword prominence. Because the search engine spider looks at the HTML code rather than the rendered page as you see it in your web browser, elements in the HTML code that bloat the page up may lower your page’s keyword prominence. In addition, this “bloat” will negatively impact the user experience as it increases download time. As you know, Internet users are notoriously impatient.

Superfluous HTML includes HTML comments, JavaScript code that is “inline”, cascading style sheets (CSS) that are “inline,” and table tags used for layout. Not only are tables inefficient for layout; they also offer poor accessibility because “screen readers” (software used by visually impaired users to read each web page aloud) will read out all that table information to the user as if it were a tabular data such as a chart. So strip out all the comments, move the JavaScripts and style sheets into separate “include” files (in the case of JavaScript, a .js file and with style sheets it is a .css file). So in effect you replace a many-line JavaScript or cascading style sheet with a oneline reference to an external file containing all that code.

Amplify the song that your content sings

Your content, when merged in with your HTML template, is what is served to the search engine spider. Your HTML template can squelch that song or it can amplify it. Above, we have already talked about ways that your HTML code can squelch the song. Now in order to amplify it, make sure that you include heading tags on your pages and utilize text navigation whenever possible instead of graphical navigation. For example, clickable buttons can be done as text but made to look graphical. Text links are much more effective than graphical links because the search engines take the anchor text that you have used and associate the words in the anchor text with the page that you are linking to. You will get a lift in your rankings for the keywords contained within those text links.

Not to worry

The Meta keywords tag doesn’t have much of a place nowadays in SEO, so you can safely leave them out of your HTML templates (unless your own site’s search engine uses them). A Meta robots tag with instructions to index and follow is unnecessary, as that is assumed, so leave that out as well. Image “alt” attributes used to be a lot more important than they are now. It seems nowadays that only when the image is also a link that the “alt” attribute is actually paid any attention to by the search engine. Taking all the above into account, you should end up with HTML templates that really enhance your search engine positions across all pages to which they are applied.

This article appeared in the February 2006 issue of Practical Ecommerce magazine.

Comments

The Art of SEO

Chapter 7:
Content Marketing

From the fundamentals of link building to the nuances of natural linking patterns, virality, and authority.

Get Free Chapter

Related Posts

Blog Images

Your Ultimate Guide to Google Penalties

When your website’s traffic suddenly takes a tumble and you don’t know why, it can be maddening. Why is this happening? It’s possible you’ve been hit with a Google penalty, or have come up against one of Google’s algorithm updates. If you’re wondering how Google penalties work and what you should do to avoid them, […]

Read More
Blog Images

Using Psychology to Boost Your Conversion Rate Optimization

Can a better understanding of the human brain help you get more conversions? Absolutely! Let’s look at how to incorporate some psychological concepts into your conversion rate strategy, along with some examples. Behavioral economics: humans are irrational What is behavioral economics and what does it have to do with conversion rates? Traditionally, economists believed that […]

Read More
Blog Images

How to Master Social Selling on LinkedIn

Social selling could be your key to securing new prospects and boosting your bottom line. When not done properly, however, social selling can also ruin your online presence and repel potential customers. So what is social selling, and why does your brand need it? More importantly, how do you master social selling? Let’s look at […]

Read More
As seen on
NBC ABC CBS Fox CW Haryard adweek foundr cnet
Capsule Bar Img
Will your content marketing turn readers into customers?

Download chapter 7 of The Art of SEO, Content Marketing

Download Now
netconcepts
  • submenu
    • About
    • Services
    • Problems We Solve
  • submenu
    • FAQ
    • Results
    • Who We’re Not a fit for
  • submenu
    • Case Studies
    • Testimonials
    • Learning Center
  • submenu
    • Courses
    • Blog
    • Podcasts
  • submenu
    • Press
    • Contact
netconcepts
© 2021-2022 Netconcepts. All Rights Reserved. Terms of Use Earnings Disclaimer Privacy Policy
Book

The Art of SEO

Chapter 7: Content Marketing

Yes, this is the book that Seth Godin referred to as “Hype-free, data-rich, and loaded with insight that’s essential reading for anyone who needs a deep understanding of SEO.”

Want to sharpen your SEO chops?...
start out with an appetizer before you dig into the main course!

Get Free Chapter
  • Facebook
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube