Should I use i tag for icons instead of span

0 votes
To display icons, both Facebook's HTML and Twitter Bootstrap HTML (pre-v3) use the I tag.

However, according to the HTML5 specification:

The I element represents a span of text in a different voice or mood, or otherwise offset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or other prose whose typical typographic presentation is italicized.

Why are they displaying icons with the I tag? Isn't this a bad habit? Is there something I'm missing here?

I'm using span to display icons, and it appears to be working for me so far.
Aug 16, 2022 in HTML by Deepak
• 980 points
640 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers
0 votes
1 answer

I've a query for <form>tag

That might be because button inside form ...READ MORE

answered Nov 2, 2020 in HTML by sindhu
754 views
0 votes
0 answers

How am I supposed to use index.html?

I have seen many people use index.html, ...READ MORE

May 27, 2022 in HTML by Tejashwini
• 3,820 points
610 views
0 votes
0 answers

Tab space instead of multiple non-breaking spaces ("nbsp")?

Is it possible to insert a tab ...READ MORE

Jun 3, 2022 in HTML by Tejashwini
• 3,820 points
609 views
0 votes
0 answers

how to use for loop inside HTML template?

I utilize a marionette view with an ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
1,583 views
0 votes
0 answers

How to use HTML to print header and footer on every printed page of a document?

Can HTML pages be printed with unique ...READ MORE

Jul 12, 2022 in HTML by Ashwini
• 5,430 points
3,632 views
0 votes
1 answer

How blockchain hides it's HTML source?

When you click View Source, you see ...READ MORE

answered Jul 17, 2018 in Blockchain by Shashank
• 10,400 points
1,229 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,606 views
0 votes
1 answer

Vertically centering text in a div

Try this code: .smallUnitBox { ...READ MORE

answered Sep 3, 2018 in Blockchain by digger
• 26,740 points
878 views
0 votes
1 answer

Using Post and Get for Embedded System Communication

Twitter would be a great place to ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
746 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP