Dec 20, 2009 · Both of them emphasize text. The <em> tag shows text as italics, whereas <strong> makes it bold. Is this the only difference? While em is relative to the font-size of its direct or nearest parent, rem is only relative to the html (root) font-size. em gives the ability to control an area of a design. As in, scale the type in that.

Recommended for you

You may also like