+ 5

<i> and <em> tags

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

11th Jul 2018, 4:25 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
3 ответов
+ 5
Hello, TalCre Arts ! It should be noted that the <i> and <em> tags, as well as <b> and <strong>, despite the similarity of the result, are not exactly equivalent and replaceable. The first <i> tag is a physical markup tag and sets italic text, and the <em> tag is a logical markup tag and determines the importance of the tagged text. This separation of tags into logical and physical formatting was originally intended to make HTML universal, including that independent of the output device.
11th Jul 2018, 5:00 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 4
Oh, I think I found the answer. <i> is used for style. <em> is used for emphases.
11th Jul 2018, 4:33 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
+ 3
both do the same job..
11th Jul 2018, 5:07 AM
Wajeeh
Wajeeh - avatar