logoalt Hacker News

extra88today at 6:51 PM1 replyview on HN

Eh, it's fine, elements should be defined for what they mean, not what they look like. The explanation and distinctions made between <b> and other elements (<i>, <em>, <strong>) make sense.

The suggested (not obligatory) user agent styling for <b> is `font-weight: bolder` an agent or authors could use lots of different things to bring attention to what the element contains and treat it differently from <strong>.

https://html.spec.whatwg.org/multipage/text-level-semantics....

https://html.spec.whatwg.org/multipage/rendering.html#phrasi...


Replies

sunshowerstoday at 7:00 PM

I write most of my content in markdown or asciidoc and I don't pay attention to whether it's b or strong :)

show 1 reply