13 ms·
I always use <em> for any kind of emphasis, and I'll even do <em class="italics"> and <em class="bold">, fight me. I've seen <i> used for icons(!) but that's a
by karaterobot 4y ago
I always use <em> for any kind of emphasis, and I'll even do <em class="italics"> and <em class="bold">, fight me.
I've seen <i> used for icons(!) but that's a bridge too far for me.
- gmac 4y agoIIRC, <i> for icons was/is the markup FontAwesome suggested/suggests.
- jansan 4y agoOf the available elements, which one is suitable for icons, especially when being used in text (just yesterday I learned that emojis are even used in code like css). Clearly they should be in an element to separate them from the text, but which one is appropriate?
- xigoi 4y ago<svg>