Languages
[Edit]
EN

HTML - italic text

0 points
Created by:
nickkk0
467

In this article, we would like to show how to create italic text in HTML.

Quick solution:

// ONLINE-RUNNER:browser;
<em>italic</em>

or

// ONLINE-RUNNER:browser;
<i>italic</i>

 

Practical example using <em> tag

In this section, we present how to make the italic text with <em> tag.

Practical example:

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <style>
    /* style properties here */
  </style>
</head>
<body>
  <p>Some text with <em>italic</em> element.</p>
</body>
</html>

Note:

You can also use the CSS solution from the following article: CSS - italic text

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join