One of the things I love about working in Wellington, not far from Parliament is that you get to see the people have their say. Even if you agree or disagree it’s great to see that the government of New Zealand is accessible.
Wed 5 May 2004
One of the things I love about working in Wellington, not far from Parliament is that you get to see the people have their say. Even if you agree or disagree it’s great to see that the government of New Zealand is accessible.
Tue 4 May 2004
Source: Dictionary.com
Do as I say, not as I do…
HTML is a language for describing content. It is not for display. I accept that it has its limitations in terms of how it is used for display. However, correct semantic markup will is better for your users and you.
Despite the widespread replacement of <b> and <i> with <strong> and <em> Matthew Thomas gives some examples of the uses of semantic code offers some advice:
if you want to use bold or italics, and HTML doesn’t have a semantic element for what you mean, use
bori. If you’re not sure which semantic element to use, usebori. And if you’re creating an authoring tool for people who won’t know or care about semantics, please leave the semantic markup alone, and just stick tobandi
While the simplicity of this appeals to me, and the practicality can’t be denied, I still don’t feel comfortable working this way.
If I really don’t know what is semantically correct (and couldn’t find a suitable answer) I’d use a <span class="whatever"> (or perhaps an id instead of class)
I think that this is better as you can then define its display using stylesheets. <span> has the advantage of being a generic inline container with no sematic meaning itself (i.e. you can use it to influence the display, without affecting the semantics of a document).
Dan Cederholm’s SimpleQuiz is a great resource and generates great discussion about semantics
Mon 3 May 2004
Communication on the web has shrunk the world. I’m currently at my desk at work, it’s 9.30am Monday morning. The bulk of the internet world is sitting down to Sunday dinner.
The problem is it looks like I’m slow to respond: If I post on my blog, it appears that I’m 16 hours behind the conversation.