{"id":376548,"date":"2023-02-06T07:06:55","date_gmt":"2023-02-06T15:06:55","guid":{"rendered":"https:\/\/css-tricks.com\/?p=376548"},"modified":"2023-02-06T07:06:57","modified_gmt":"2023-02-06T15:06:57","slug":"the-double-emphasis-thing","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/the-double-emphasis-thing\/","title":{"rendered":"The Double Emphasis Thing"},"content":{"rendered":"\n

I used to have this boss who loved<\/em>, loved<\/strong>, loved<\/em><\/strong>, loved<\/span><\/em><\/strong> to emphasize words. This was way back before we used a WYSIWYG editors and I’d have to handcode that crap.<\/p>\n\n\n\n

<p>\n  I used to have this boss who <em>loved<\/em>, <strong>loved<\/strong>, \n  <strong><em>loved<\/em><\/strong>, <strong><em><u>loved<\/u><\/em><\/strong> \n  to emphasize words.\n<\/p><\/code><\/pre>\n\n\n\n

(Let’s not go into the colors he used for even MOAR<\/strong><\/span> emphasis.)<\/p>\n\n\n\n

Writing all that markup never felt great. The effort it took, sure, whatever. But is it even a good idea to add overload content with double \u2014 or more! \u2014 emphases?<\/p>\n\n\n\n\n\n\n

Different tags convey different emphasis<\/h3>\n\n\n

For starters, the <strong><\/code> and <em><\/code> tags are designed for different uses. We got them back in HTML5, where:<\/p>\n\n\n\n