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).
Related HTML job interview questions
What is DOM?
HTML JuniorHow do you create table with 2 rows and 3 cells?
HTML JuniorWhat is <strong> tag?
HTML JuniorCan you give 10 examples of the most used attributes?
HTML JuniorWhat is <a> tag and how is it used?
HTML Junior