Forum Moderators: open
While browsing through some of those resources, I came across a very heated debate concerning the use and misuse of presentation markup and structure markup. Mainly, the use of italics, bold, emphasis and strong emphasis.
After reading for hours through the various interpretations of the guidelines, I ended up at the WAI (Web Accessibility Initiative) which in my mind would be the authoritative resource on the use of these elements. I also spend a lot of time there too. ;)
How do you interpret the use of these elements?
Here is my perception based on the debates I've been reading...
Now, doesn't it make sense that we would use all four elements in presenting both visual and structural design? Am I confused? :)
[edited by: pageoneresults at 8:11 pm (utc) on Dec. 27, 2004]
How are you going to do that with <i> and <b>?
You can style these tags too. If you wanted to you could make <b> display as italic and <i> as bold. It therefore follows that
1) style sheets for non-visual display of <i> and <b> can be designed without difficulty.
2) <i> and <b> can be treated as simply shorthand for <strong> and <emphasis>.
As I said before, there is no right and there is no wrong.
Kaled.
I like the way you tag things:
I use <em> for emphazised text, <cite> for titles of books, movies etc., <i> for foreign words and phrases, lawsuits (Brown v Board of Education) and names of ships, aircraft etc. (USS Enterprise).
But, please, would you explain me why did you choose <cite> for names (books, boats...)? Isn't that a big change of the tag role?
Aside, about the b-i-strong-em thing I believe there's only one reason to advocate the use of them: A future where the play some role together with new structural tags (which ones? I don't know). As this does not seem to be likely, I choose to side with those that think: Either irrelevant or both are to be used as synonims ;)
why did you choose <cite> for names (books, boats...)?
This is what <cite> is for. It's a semantic tag, just as <strong> and <em> are. They all contain information about what is being marked up.
<i> and <b> - and the deprecated <u> - merely say something about how the characters should be displayed. They say nothing about meaning.
I don't really understand the title, since - as various people have pointed out - <i> and <b> are totally different animals to <strong> and <em>. They aren't alternatives, and I don't see why anyone should regard them as alternatives.
Arguing between
<b> and <strong> purely in terms of semantics is like asking which is the better health food: poutine or cream fudge. :)
what is the difference between saying a phrase is 'strong' and saying that it is 'emphasized'?
It took a little thinking for me to finally figure that one out. In this case, <strong> in an extension of <em> in that it is one level above <em> in emphasizing text. lol!
You have regular emphasis and then you have strong emphasis as it is stated in the guidelines. Now, who decided to make <em> italic and <strong> bold? Why weren't both of them italic (with <strong> being bold italic) as they both refer to emphasis?
There's a new thread here today about a Usability and Acessibility Study [webmasterworld.com]. I found it quite illuminating relative to the issues a JAWS user must struggle with.
Given what I read there, I doubt that a JAWS user has any concern about these differences whatsoever. The whole issue ends up sounding like the medieval debate about how many angels can fit on the head of a pin.
My answers, by the way, are 43.7 angels, and cream fudge.
Now, who decided to make <em> italic and <strong> bold? Why weren't both of them italic (with <strong> being bold italic) as they both refer to emphasis?
This is, of course, for the designer of the browser to decide - as with the default presentation of any tag. You can always overwrite the decision by the use of CSS.
Presentation is not the issue. Meaning is.
Although, I have to admit that I too am none to clear about the difference between saying something strongly and emphasising it. But it's always made sense to me when I've used one or the other tage in the past. I suspect that I'll start having problems from now on... :)
<i> and <b> are nothing to do with emphasis. They have to do with presentation (and are effectively therefore, as someone already noted, a shorthand for a specific <span> style).
why did you choose <cite> for names (books, boats...)?
This is what <cite> is for. It's a semantic tag, just as <strong> and <em> are. They all contain information about what is being marked up.
I beg to disagree, TheDoctor. The W3C says: "CITE: Contains a citation or a reference to other sources". That is why I asked the reason of that particular election. Not that I find it a bad trick but I don't think it can be recommended as a 'kosher' semantic usage.
A more proper tag would be something like 'title' or 'name' but both are used as attributes in other contexts, so... I think html is lacking is this aspect ;)
I <em>may</em> not be able to do what you tell me.
I <strong>will not</strong> do what you tell me.
<em>Notice</em>: handle package with care.
<strong>Warning</strong>: package will self-destruct in 5 minutes.
How <strong>dare</strong> you call those people our <em>friends</em>?
Personally, I never use <i> or <b>, but use <span> instead. It makes more sense to me to place all styles in css, and italic and bold are simply styles.
CITE is not for quotes or excerpts, but rather for titles of cited works, ala:"It was the best of times; it was the worst of times,"
wrote Dickens in <cite>A Tale of Two Cities</cite>.
I read that message and now I understand it is dead right to use CITE in that sense ("I dunno about Q, but CITE is not for quotes or excerpts, but
rather for titles of cited works") I wish they'd add that explanation to the W3C pages. Otherwise they are a bit misleading.
Thanks, I'll be using CITE from now on ;)
If you wanted to you could make <b> display as italic and <i> as bold. It therefore follows that
1) style sheets for non-visual display of <i> and <b> can be designed without difficulty.
Actually, no, it doesn't. In typography, we use italics for
- foreign words
- titles of publications
- emphasis
If I want to transfer to another medium, it may not map the same way. In other words, I may raise and sharpen my voice for emphasis, but I would not do so every time I used a foreign word or mentioned the title of a book.
For visual effect, I simply use <i> and <b> but I see no reason why all four tags should not be used on a single page.
Kaled.
The situation: I have an externally declared style for the <b> tag - it adds color to match the page's look, e.g. But in one small case on one page I need a standard bold rendering.
Rather than add a new class to my css file, I just use <strong> that one time.
Very lazy, I know.