demosthenes.info

A blog by Dudley Storey on , , , , , , and anything else that strikes his fancy.

featured articles

popular favourites

Making Your Web Pages Machine-Readable With Semantic Markup

When Google or another search engine does reach your page (using what is known as a “web spider” or “robot”) it will attempt to work out what the page is about. It will do so not only by using the heuristics previously discussed, but also by looking at several areas on the actual page:

  • The page title
  • The content of the headings used on the page (h1, h2, etc)
  • The content of the first paragraph, which may function as an introduction
  • Unique words used repeatedly throughout the document and their proximity to each other. The words “Africa” and “drums” used several times on a page in close proximity to each other make it more likely that the page is about African drums.
  • alt and title attributes on images
  • <address> content, to try to determine where you are
  • General semantic markup: <dfn>, <acronym>, <abbr>, etc
  • Meta tags

Following the practices and protocols we have talked about so far should create a good, well-structured, semantic page. It’s important to remember that any page that is linked to (either within your site or via exterior inbound links) may be reached directly, by both the search engine and visitor – so crafting an introduction, or at least a comfortable context for the user to understand what is going on at the start of each page, is important.

web developer guide

featured comment

by JoelB in Goodbye, JQuery Validation: HTML5 Form Errors With CSS3

what i'm reading

A Storm of Swords: A Song of Ice and Fire: Book Three
A Storm of Swords: A Song of Ice and Fire: Book Three

what i'm watching

Californication: The Third Season
Californication: The Third Season

what i'm playing

Mass Effect 3 Collector's Edition
Mass Effect 3 Collector's Edition

what i'm hearing

Dub FX
Dub FX

blogs

podcasts

no ads ever

This blog is free of advertising, and always will be.

creative commons licensed

The content of this blog is free to use in whatever way you wish under the Creative Commons license.