Em element line-height cant set to normal

To not inherit value from body tag??? I mean set custom one I try but seems not want work


Any idea?


Hello @bestdesign,

You should avoid using <em> tags in your html code whenever possible, especially if you need to add multiple styles (such as line-height). You should replace the <em> tag with a <p> tag and style the p tag accordingly (adding a class to <p> would probably be best).


1 Like

This is incorrect. If you want to emphasize some words or sentences, <em> is the tag to do so. Using <p> would create a whole new paragraph.


1 Like

So you mean <p>text and <em>some other</em></p>?