After 15 years of working in html development and managing multiple websites, I have come to realize that bold and italic tags essentially serve the same purpose. I can apply CSS styles to both to achieve similar effects. I have even experimented with making bold text display as block lettering or a different color, but I could have easily accomplished this by adding a class instead. So, why do these tags exist? How can I explain their differences to a new colleague learning html without simply dismissing them as unnecessary?
There is a common question about the distinctions between <b>
and <strong>
, <i>
and <em>
. However, the answers provided are outdated and no longer relevant to current html/css standards.
Despite an answer to this question receiving 425 upvotes, it is riddled with inaccuracies. It is important to note that bold and strong are not styles, but rather tags that can be styled. While I understand the consideration for accessibility in terms of readability, the creation of new formatting tags seems unnecessary to achieve this goal.