What is the difference between<em> and <i> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between<em> and <i> tag

27th Dec 2022, 5:09 PM
Trishant Mishra
Trishant Mishra - avatar
35 Answers
+ 8
You might want to do research online on differences between similar elements. However, <i> makes text to be italic, i.e. top of the characters will move to the right a bit, to make a word/phrase to stand out in the paragraph. <em> emphasises the text i.e. makes it to stand out for the screen readers
27th Dec 2022, 5:19 PM
Lamron
Lamron - avatar
+ 3
em tag and i tag are same but their semantic meaning is different .
28th Dec 2022, 2:55 AM
Keerthana Chowdary
Keerthana Chowdary - avatar
+ 3
Por favor puedes usar la búsqueda para encontrar dudas ya resueltas https://www.sololearn.com/discuss/379665/?ref=app
28th Dec 2022, 9:13 PM
Cmurio
Cmurio - avatar
+ 3
● <em> tag stands for emphasized text.. It is a logical tag. Used to display content in italic For e.g.- <html> <head> <title> emphasized tag </title> <body> <h1>The em element</h1> <p><em>this text is emphasized </em> tag</p> </body> </html> ● <i> tag stands for italic It is physical tag. The content inside is typically displayed in italic.
29th Dec 2022, 2:55 PM
Akansha Chowhan
Akansha Chowhan - avatar
+ 2
Emphasis looks pretty much like sans-serif font with attractive designs at the corners of every letter.italic has bent letters and contrast little higher than medium,which emphasis doesn't have.
28th Dec 2022, 1:01 PM
RandomTuber
RandomTuber - avatar
+ 2
You should know why you start something when you start it. Its easier then to walk the path to success. You should know WHAT you like. You like developping web applications? Then you really should first of all find some simple explanations in the web about the concepts behind HTML and all the FRONT END stuff (like CSS and JavaScript) you need to use in order to make your presentation layer beautiful and dynamic. Then you also should be aware of the BACK END area (maybe that's why you need to learn PHP) and how they both (BACK END and FRONT END) interact (Client - Server concepts). After that you chose your learning tutorials.
29th Dec 2022, 3:22 AM
{undefined}
{undefined} - avatar
+ 2
<i> tag used to make text italic
29th Dec 2022, 4:05 PM
Ganesh Kore
Ganesh Kore - avatar
+ 1
I searched on Google and there it showed thet em tag emphasizes and make texts italic so I thought here people will say something different. At last i think there is no main difference we can use both for different purposes only and maybe we we can also use i tag to emphasize and em tag to simply make text italic. "No main difference ?"
27th Dec 2022, 5:33 PM
Trishant Mishra
Trishant Mishra - avatar
+ 1
Lamron bro actually I was learning html and at a point i feel that sololearn is giving CSS too much so i have to learn CSS also. So, now i am just learning basics of CSS by sololearn lessons and it's comments and some doubt clearing by asking doubt and watching yt.
27th Dec 2022, 5:37 PM
Trishant Mishra
Trishant Mishra - avatar
+ 1
That's why i don't know some basic tags of html 😓
27th Dec 2022, 5:38 PM
Trishant Mishra
Trishant Mishra - avatar
+ 1
The <em> element is used to mark text that has emphasis. It is typically rendered as italicized text in most browsers. The <i> element is used to mark text that is set off from the surrounding text in some way, such as a technical term, an idiomatic phrase, or a fictional character's thoughts. It is typically rendered as italicized text in most browsers. In general, it is better to use the <em> element to add emphasis to text, as it conveys the intended meaning more clearly. The <i> element should be used only when the text needs to be set off from the surrounding text in a specific way, such as for technical terms or idiomatic phrases.
28th Dec 2022, 6:08 PM
Bhathiya Bandara
Bhathiya Bandara - avatar
+ 1
Yo <em>tag to <i>tag is like <strong>tag to <b>tag.
29th Dec 2022, 4:06 PM
Chidozie Okeke
Chidozie Okeke - avatar
+ 1
Lubchik Egor what's seo ?
29th Dec 2022, 5:14 PM
Trishant Mishra
Trishant Mishra - avatar
+ 1
Search Engine Optimization. SEO includes an extensive set of works aimed at improving the ranking of the site in search engines and improving its presentation in the search results.
29th Dec 2022, 6:30 PM
Lubchik Egor
Lubchik Egor - avatar
+ 1
Thanks for replying so basically <i>tag italizes while <em>tag emphasizes
29th Dec 2022, 9:40 PM
Chidozie Okeke
Chidozie Okeke - avatar
+ 1
Lubchik Egor Thanks for the information 👍🏻
30th Dec 2022, 1:24 PM
Trishant Mishra
Trishant Mishra - avatar
+ 1
Yo Trishant can we be friends, so we can enlighten one another on html tags ,CSS rules and Javascript stuff
30th Dec 2022, 3:43 PM
Chidozie Okeke
Chidozie Okeke - avatar
+ 1
You from India right so namastay. 🙏🙏😝
30th Dec 2022, 5:14 PM
Chidozie Okeke
Chidozie Okeke - avatar
+ 1
You Trishant you gone against someone before in coding so how's it like cause I thinking when I am free I do the same. Pls tell me if this is a good idea. 😓😓
30th Dec 2022, 5:17 PM
Chidozie Okeke
Chidozie Okeke - avatar
+ 1
Bro it's fun it will help u to remember codes which u have practiced and by challenging people you can also get challenges.
30th Dec 2022, 5:40 PM
Trishant Mishra
Trishant Mishra - avatar