What is em in HTML? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

What is em in HTML?

It is not yet being introduced in the slides before and it went to describe it and bringing relations?

6th Oct 2016, 7:56 PM
Rituraj Datta
Rituraj Datta - avatar
2 ответов
+ 1
The <em> tag is a phrase tag. It renders as emphasized text.
6th Oct 2016, 8:01 PM
Munaf Aqeel Mahdi
0
Munaf is correct, but there's actually more to the answer than that. In normal web browsers, <i> and <em> both pretty much mean italicise, but when it comes to web design on multiple platforms, these tags each play a different role. Basically, <em> and </em> describe the text they surround, while <i> and </i> describe HOW the text they surround SHOULD BE DISPLAYED. More information can be found here: http://stackoverflow.com/questions/271743/whats-the-difference-between-b-and-strong-i-and-em#271776
14th Oct 2016, 3:49 PM
Delaina Hardwick
Delaina Hardwick - avatar