Computer >> Computer tutorials >  >> Programming >> HTML

How to use Emphasized formatting in HTML?


To use emphasized formatting in HTML, the <em>…</em> a tag is used. It defines the emphasized text and adds semantic importance. Just keep in mind; it is a phrase tag, which renders as emphasized text.How to use Emphasized formatting in HTML?

You can try to run the following code to use the emphasized formatting in HTML using <em>…</em> tag

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML em tag</title>
   </head>

   <body>
      <h1>Tutorial</h1>
      <p>Learn <em>Website Development</em> with ease.</p>
   </body>
</html>

Output

How to use Emphasized formatting in HTML?