What is <i> tag?

Experience Level: Junior
Tags: HTML

Answer

  • The <i> tag is used for representing a span of text in an alternative voice or mood, text that is set off from the normal text for some reason.
  • Use <i> tag to highlight a technical term, a thought, a foreign language phrase or when you want to highlight the special meaning of a span of text.
  • The <i> tag is often used to represent icons using icon fonts (Font Awesome). 
Example
<p>
	Have you ever seen <i>lorem ipsum</i> phrase before?
</p>

Comments

No Comments Yet.
Be the first to tell us what you think.
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself