Comments on: The i, b, em, & strong elements https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/ helping you implement HTML5 today Wed, 29 Jun 2016 23:08:47 +0000 hourly 1 By: gotofritz https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-2096316 Sun, 28 Feb 2016 21:11:05 +0000 http://html5doctor.com/?p=1443#comment-2096316

using <b> and <i> as-is (with no classes) means you’re just using them for typographic effect — no semantics at all.

This is quoted in an answer by @Dr. Oli Studholme above, but where is that stated in the specs? I don’t see it anywhere. All I see in the specs is that they list the difference between HTML 4 and HTML5 – including, indeed, em, strong, i, b (see https://www.w3.org/TR/html5-diff/#changed-elements ). Someone already asked this but Dr Studholme didn’t answer that question.

Not only that, but in the specs (although in a non-normative section) it says explicitly

The majority of presentational features from previous versions of HTML are no longer allowed.[…]It is also worth noting that some elements that were previously presentational have been redefined in this specification to be media-independent: b, i

That seems to contradict what this article says (as far as the specs go; in the real world we all know it’s different, see icons in the popular Bootstrap framework etc)

]]>
By: Ibrahim https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-2059660 Sat, 21 Nov 2015 15:55:24 +0000 http://html5doctor.com/?p=1443#comment-2059660 The button eelment is great, it is fantastic with javascript. It doesn’t quite work in a form though, because Internet Explorer chooses not to follow specification and send the button’s inner HTML instead of it’s value which is a bit annoying.My solution to make it work in forms is not to have it send anything, put the information to be sent into hidden input field. That doesn’t solve the problem if you wanted conditional submit buttons though. So if you want multiple submit buttons with different values, you’d have to stick with input buttons.

]]>
By: Bruce Lawson https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-580212 Tue, 14 Oct 2014 10:32:22 +0000 http://html5doctor.com/?p=1443#comment-580212 oh, hello, Real World – I love that troll hat you’re wearing.

]]>
By: C. May https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-273749 Sat, 23 Aug 2014 14:04:33 +0000 http://html5doctor.com/?p=1443#comment-273749 Knock, knock: Real world, here.

Could someone explain to me how any of this hair-splitting, evolving, tired procedure-over-substance semantics is of any real use to anyone?

Little of any of this appears to me to be advancing the field. Rather, it smacks of inefficiency. It is akin to sand thrown upon the gears of progress; it even displaces true advancement.

Personally, I will try my best to ignore it, while seeking to hasten its demise. There are real world issues to solve in the industry, true improvements to be made instead of wasting time of justifying the existence of backward compatible relics. Or does that just require too much assiduity and intellectual discipline?

Let’s get back to work, shall we?

]]>
By: Joseph Ocena https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-71091 Wed, 25 Jun 2014 08:41:28 +0000 http://html5doctor.com/?p=1443#comment-71091 Why use element compared to font-weight:bold? Is there any significant reason?

]]>
By: Emphasis and Strong - Eager Dev https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-48495 Tue, 25 Feb 2014 04:22:20 +0000 http://html5doctor.com/?p=1443#comment-48495 […] HTML5Doctor, The i, b, em, & strong elements […]

]]>
By: Mattia https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-34729 Thu, 30 May 2013 08:13:29 +0000 http://html5doctor.com/?p=1443#comment-34729 Thanks for this wonderful article. I wrote something similar for us italian, you can check it on my personal blog! http://www.mattiafrigeri.it/articoli/web/html5-corretto-uso-tag-i-b-em-strong/

]]>
By: libmult https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-34686 Mon, 27 May 2013 13:31:19 +0000 http://html5doctor.com/?p=1443#comment-34686 Great article with useful examples. The new meaning of i was clear to me, but I was wondering what would be a reason for b to exist, as syntaxically different from strong. Your exemple with the paragraph’s first line in bold or in small-caps is probably the best use for a stylistically different text (that can be bold as in the HTML4 spec, or not).

In my opinion, this level of precision between elements is more useful in big stories with dialogues etc. than in small Web applications, because no one knows how it will be stylized or read in the future: imagine a powerful voice synthesizer for blind people that would handle alternate moods: a text with the correct tags would sound way more natural.

To those who don’t understand these differences between emphasis, voice difference, alternate mood and so on, I recommend reading or writing theatre/dramatic play’s texts, these kind of elements are plentiful there.

]]>
By: Fizz Web Design https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-33595 Thu, 11 Apr 2013 16:01:08 +0000 http://html5doctor.com/?p=1443#comment-33595 So basically, still does what does and still does what does – and vice versa.

To me, b stands for bold and i stands for italic, it’s simple, easy and logical and & takes less time to type over a period of years(!) – so that’s what I’ll continue to use until I find a good reason not to, that is, it breaks!

]]>
By: Sinterbear https://stevefaulkner.github.io/html5doctored/i-b-em-strong-element/#comment-32121 Wed, 13 Mar 2013 13:55:39 +0000 http://html5doctor.com/?p=1443#comment-32121 As I see it, i, b, and other glyph variants are intended to amplify the meaning of the words they adorne. If you look at their history in printing, I think you can say that, in part, they compensate for the lack of gesture and posture in written communication. As such, their use is highly personal and what they convey is almost completely subjective.

Although their use has been standardized for very narrow purposes in very narrow domains (Chicago Manual of Style, etc.), I see no advantage whatever to attempting to attach meaning to them at this late stage in the evolution of markup.

Indeed, doing so is likely to create confusion and misunderstanding when even a carefully crafted style sheet is used by an audience that has no understanding of its origins or intentions. This is typical on the Internet.

Still, the machinery introduced by HTML5 will have its value as clever people learn how to exploit it to solve technical problems. Personally, I have doubts about the value of device independence. It tends to distract from the larger problem of audience independence, which is far more difficult to achieve even in trivial cases.

]]>