HTML <em> Tag ❮PreviousComplete HTMLReferenceNext❯ Example Mark up emphasized text in a document: <p>You<em>have</em>to hurry up!</p> <p>We<em>cannot</em>live like this.</p> Try it Yourself » Definition and Usage The<em>tag is used to define emphasized text. The content...
When thing to keep in mind when using relative units such as % and em: don’t apply them on generic HTML elements (except html or body). Do apply them on containers, or specific elements within a container (when you know what the contents or gonna be), but beware of applying them to...