--- comments: true date: 2011-03-14 18:54:26 layout: post slug: coding-up-a-semantic-lean-timeline title: Coding up a semantic, lean timeline wordpress_id: 2624 categories: - Web Development tag: - CSS - HTML - Semantics --- I absolutely love coding up the more semantic aspects of a build. Usually forms and tables, it’s these massively semantic (read; lots of elements with very specific jobs) that I really love coming up against. They’re not all that challenging, but they’re very fun (to me at least--is that sad?!) After [Séan](http://twitter.com/walshybhoy) shared [the Financial Times’ timeline](http://aboutus.ft.com/corporate-information/history/) I got to wondering how I’d code my own (albeit massively more simple) timeline. This is what I came up with: [HTML/CSS timeline](http://dl.dropbox.com/u/2629908/timeline/index.html). ## The markup The markup is amazingly simple. Semantically I used an `
    `. This was quite an obvious choice as this is an ordered list of events. I used one `id=""` and some supporting `datetime` attributes where known (some exact dates are unknown, therefore not included (hopefully you’ll know your exact dates!)), and then that’s it:
    1. Born

    2. Started first school

    3. Started middle school

    4. Started high school

    5. Started 6th Form

    6. Registered csswizardry.com

    7. Joined Sense Internet as Web Developer

    8. Joined Twitter

    9. Joined Venturelab as Web Developer

    10. Became a member of the Smashing Magazine Experts Panel

    11. Joined Sky as Senior UI Developer

    I was initially marking the dates up as ``s but as [Mark](http://twitter.com/Renniks/) pointed out [I could use the new HTML5 `