Spot the Error May 12, 08:33

<ul class="asset-meta-list">
<li class="item"><span><abbr class="datetime">Sep. 19th, 2007 at 10:07 AM</abbr></span></li>
</ul>

I was bored so I decided to customize my livejournal, Babblative.com DIET to look like my website. Whilst doing so I noted the bit of code above. Funny, I always thought that an <abbr> tag was supposed to be used for abbreviations, not for the date and time on a blog entry. W3Schools.com seems to agree with me on this:

Indicates an abbreviated form, like “Inc.”, “etc.”. By marking up abbreviations you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.
HTML <abbr> tag

Date and time =/= an abbreviation, right? Is there some new rule that I’m not yet aware of? What makes it even worse is that if they were simply using it to add another class, which I suspect they were, they could have used the <span> tag instead. Livejournal really needs to take a good long hard look at their X/HTML and CSS and possibly imprison the people who write it.

I don’t see why the span is in there either? Seems somewhat redundant.

#1 Jem May 13, 03:49 Permalink

Livejournal also need to stop using tables for layouts as well…

But if you think their markup is bad, try myspace.

#2 Rachael May 16, 14:21 Permalink

Comments are closed on this post (and most other older posts). If you'd still like to discuss this then please feel free to drop me a line using the contact form below.

Contact