What's the difference between <em> and <i> also <strong> and <bold>? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What's the difference between <em> and <i> also <strong> and <bold>?

What about <sub> and <sup>? They both look identical to me. Any answer will be greatly appreciated. -Thank you.

8th Dec 2016, 7:45 AM
Kartika
3 Réponses
+ 8
They have the same effect on normal web browser rendering engines, but there is a fundamental difference between them. Think of three different situations: web browsers blind people mobile phones "Bold" is a style - when you say "bold a word", people basically know that it means to add more, let's say "ink", around the letters until they stand out more amongst the rest of the letters. That, unfortunately, means nothing to a blind person. On mobile phones and other PDAs, text is already bold because screen resolution is very small. You can't bold a bold without screwing something up. <b> is a style - we know what "bold" is supposed to look like. <strong> however is an indication of how something should be understood. "Strong" could (and often does) mean "bold" in a browser, but it could also mean a lower tone for a speaking program like Jaws (for blind people) or be represented by an underline (since you can't bold a bold) on a Palm Pilot.
8th Dec 2016, 7:53 AM
drunckoder
drunckoder - avatar
+ 2
they are exactly same becuase they are just displayed by same browser
8th Dec 2016, 10:13 AM
Sandeep Chatterjee
0
ko có tiếng việt à admin
8th Dec 2016, 9:41 AM
Giáp Xuân
Giáp Xuân - avatar