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

Create an italic text in HTML


The HTML <i> tag is used to display the content in italic.You can try to run the following code to create an italic text in HTML −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML i Tag</title>
   </head>
   <body>
      <p>We liked the movie <i>Avengers</i></p>
   </body>
</html>