One thing I wish for in HTML is a de-emphasis element. Maybe it could be called dem
. To an extent I fake this effect with code like <span class="fade">
, which with my CSS produces a whisper like this, but the semantic content of a span
element with a class applied is pretty thin. That class could be anything, and span
just selects a certain piece of inline content.
No, what I want is a proper de-emphasis element. After all, we have two levels of emphasis, em
and strong
, so why not dem
?
Actually, this leads me onto a bigger issue that I have with HTML (and XHTML, for that matter): semantically, it’s weak. There just aren’t enough elements to mark up a document well. This, of course, cry the futurists, is where XML comes in: you can create your own, internally consistent markup language, with all the elements you want. But is this realistic? Will most of us actually do it? Of course not. What is needed is a brand of XML that will be strong enough to mark up the majority of documents on the web, so lazy people like me can use it. And, no doubt, one (more likely loads) is being created, or already has been.
This leads me onto my second problem: support. HTML is (mostly) a de facto standard, because most browsers support most elements. But what are the odds that the majority of the browser market will support XML properly at the point where most of us (developers) really start to want to use it for everyday document markup? Slim and none?
Perhaps I’m being overly pessimistic; perhaps I just don’t understand the current state of markup language creation and usage, or the browser market and the way it will change in the next few years as Microsoft get their act together or everyone switches to Firefox. But maybe we’re going to have another decade of frustration. I don’t think, right now, I’d lay odds on the former over the latter.
4 responses
Comments feed for this article
Anything you do to small portions of ordinary roman text serves to emphasise it. Italic and bold are two different forms of emphasis; italic being the historical emphasis and bold being the uncouth web person’s idea of “extra” emphasis. Making type lighter doesn’t de-emphasise it, it emphasises it by making it slightly harder to read. More attention is required to read grey text in black content, so it is emphasis of another type.
Seems to me that changing the colour of a certain portion of the text is best served by “span class”. The idea of de-emphasising may sound good in theory, but I don’t think there is any way to de-emphasise text from the ordinary roman since any change made to it will naturally emphasise it.
Joel November 28th, 2005
That’s a fair point, but what about the
small
andbig
elements? They don’t seem to have semantic content in the same way that emphasis does. Subscript and superscript is a bit weaker than emphasis, since it’s just a convention about how we display certain technical extensions of ordinary language, but nonetheless I can see a stronger case for its inclusion in HTML thansmall
andbig
; in fact,small
would seem the perfect candidate for replacement by a de-emphasis element. Relative text size seems (to me at least) to be presentation, not structure or content.Nonetheless, on reflection I think you’re right about alterations to ordinary text emphasising it, no matter the intentions behind that alteration.
ionfish November 28th, 2005
HTML may contain “small” and “big”, but I can’t imagine anyone with any typographical taste ever using them. Much of the debate around proper markup seems to revolve around the idea that a blind person has no conception of “italic”, therefore we must use “em” rather than “i”, since emphasis is what we intend.
But then we go away and specify “em” in our stylesheets as italic type for those sighted people who see our pages, since, after all, that is precisely what we intend, when it comes down to it. We are just sheep being herded into “good practice”. I don’t think it’s worth losing too much sleep over, best to just think about it for a while as it takes our interest, and then leave it to the obsessives.
Joel November 28th, 2005
Yes, but
em
can be displayed in different ways: plenty of people are experimenting at the moment with different coloured backgrounds and the like, as replacements for italics. It’s not something I’d do, being more of a purist, but that doesn’t mean it’s not a valid visual representation of the element.Moreover, emphasis can be spoken too, so a screenreader could stress a word or section of text. I often read stuff I’ve written aloud; it helps me see if it flows well and is generally comprehensible. Obviously I can’t pronounce italics, but I can stress things.
ionfish November 28th, 2005