Making HTML Italic Fonts
In HTML, the <i> or <em> tags are used to make text italic.
Below are examples of their use.
<i> Using italic font example i </i>
<em> italic font example using em </em>
The results will be like this.
using italic font example i
italic font example using em
Note: Although the "i" and "em" tags generally give the same result visually, the em tag is more controllable with "css". It also works smoother on mobile devices. That's why today it is recommended to use the em tag.