Code and Output for em:

Code:

    <!DOCTYPE html>
    <html>
    <head>
      <title>HTML Example</title>
    </head>
    <body>
      <h1>The em element</h1>
      <p>You<em>have</em>to hurry up!.</p>
    </body>
    </html>
  

Output:

The em element

You have to hurry up!.