This forum is now read-only. Please use our new forums! Go to forums
Does "em" stand for something?
These HTML lessons have been great about putting a name with a shortened code word (href is hyperlink reference…src is source…etc). Knowing the relationship between what you type in the code and it’s real meaning helps my understanding.
Does “em” stand for something?? This is the em used instead of px when defining the size of text.
Answer 510c0d0d583739e026001f0f
1 vote
An em is equivalent to the width of a letter m. Ems allow you to change the size of text relative to the size of the text in the parent element.
for instance, if the font-size of the document is 12pt, 1em is equal to 12pt. Ems are scalable in nature, so 2em would equal 24pt, .5em would equal 6pt, etc. Ems are becoming increasingly popular in web documents due to scalability and their mobile-device-friendly nature.
Answer 50fcb0d3297af1bbbf00377a
1 comments
Answer 51473dd1383ff8bec000002b
0 votes
Eric, I must congratulate you again, this exercise is great.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Its an old definition. Its deprecated now and nowadays, the size of M is less than the one traditionally applied. It is normally taken roughly as 16 pixels size. i.e, 1 em = 16 px