+ 5
<i> and <em> tags
What is the difference between <i> tag and <em> tag?
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.
+ 4
Oh, I think I found the answer. <i> is used for style. <em> is used for emphases.
+ 3
both do the same job..