World of Badger
Just what the world needs, another blog by a web designer

Semantic Badger

I’ve finally got round to rejigging the XHTML and stylesheet for these pages. The previous markup was valid, but a bit messy; for example, each entry’s topic icon/link, entry title and date were all contained within an <h3> tag. This is certainly where the title belongs, and I suppose one could argue that the topic is part of the heading too, but that might be stretching it. And the date certainly didn’t belong within that heading. So now I’ve made things more semantically correct: the entry title is the sole occupier the <h3> tag; the date has its own div (and class), as does the topic icon/link (this div is floated left, which neatens up the layout a little). Oh, and I’ve added a permanent link to each entry (excuse bad pun).

I haven’t tested this thoroughly yet, just on IE and Mozilla on Windows, but I think it should be OK…

You can leave a response below, or trackback from your own site. You can follow any responses to this post through the RSS 2.0 feed. Alternatively, why not view the next or previous entries:

Leave a Reply




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

My Photos on Flickr

About this post

Site navigation

Links to older entries

Feed the Badger: Blog RSS feed (Entries) Comments RSS feed (Comments).