Skip to content

Archive for June, 2008

Semantics in HTML: What’s in a Heading?

Thursday, June 12th, 2008

During a workshop on accessibility and WAI yesterday, the issue of proper use of HTML headings came up.

Lots of sites fall short when it comes to using HTML headings (and other elements) properly, something that can affect accessibility, search engine ranking, as well as code maintenance [not to forget future re-use on the grand Semantic Web].

How - and where - to properly use the elements might not always be that clear, and some of the questions raised during the discussion can be rephrased as:

  • Do all web sites/documents have a clearly defined heading?
  • Do all documents have to specify a H1?
  • Is it really OK to put the logo inside H1?

What follows is my 2 cents on the subject.

(more…)