4 ms·
It's actually for "bring attention to" :) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b https://developer.mozilla.org/en-US/docs/Web/HTML/Element
by unsafecast 4y ago
It's actually for "bring attention to" :)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
- capableweb 4y agoNot to be confused with "<strong>: The Strong Importance element"
- Garlef 4y agoAlso not to be confused with "<mark>" to indicate relevance. A use case might be if the respective part of the text is of strong relevance and you want to bring attention to it by emphasizing it. But now I'm unsure if I should consider these distinctions <bullshit> or <horsecrap>?
- denton-scratch 4y agoThing is, when you're composing prose in your native language, you don't generally parse it and re-parse it to figure out whether some term is "relevant", or requiring attention, or in an "alternative mood". A native speaker/writer isn't normally aware of the grammatical aspect of what they write; they know how they want the text to appear. Trying to force writers to instead overlay a layer of meta-meaning on their prose, so that the meaning is expressed both in the text and the markup, is a fool's errand. It's a bit like a programming system that requires the developer to express his meaning in both Forth and Python; it's just asking for an author to write text that directly contradicts the markup.
- denton-scratch 4y agoSo that's 'b' for 'bring'. But you could bring anything, couldn't you? E.g. "Party tonite; <b>your own bottle</b>". It's a stretch.
- moritzwarhier 4y ago> Do not confuse the <b> element with the <strong>, <em>, or <mark> elements. The <strong> element represents text of certain importance, <em> puts some emphasis on the text and the <mark> element represents text of certain relevance. The <b> element doesn't convey such special semantic information; use it only when no others fit. This is really hard to take seriously, even as someone who advocates for semantic HTML. Surely all these nuances mean something tangible, but I don't see it. Compared to <b> vs <strong> vs <em>, <mark> and <i> seem comparatively sensible.
- unsafecast 4y agoI agree. I like the idea of semantic HTML with close to no classes, but the standard is really failing here. I generally just use <em>, and very rarely <strong>.