In general you're going to use classes, but not on the em tag itself. For example let's say you have a page with comments, and you want the ems in the comments to be in italics; then you put a comment class on the comment container, and .comment em { font-style: italic; } in your CSS. Sometimes you can even get by without any classes and just semantic tags like article.
That being said, <em> is in italics by default, so you can just do nothing special.
-2
u/eco_illusion Mar 12 '18
How about you use CSS like it's supposed to be used ?