0

What is em in this code?

The HTML: <div id="intro"> <p class="first">This is a <em> paragraph.</em></p> <p> This is the second paragraph. </p> </div> <p class="first"> This is not in the intro section.</p> <p> The second paragraph is not in the intro section. </p> The CSS: #intro .first em { color: pink; background-color:gray; } In this code #intro is id, .first is class but can anyone tell me what is em? is it class,id or something other.

2nd Oct 2020, 6:10 AM
Dhruv Kohli
Dhruv Kohli - avatar
3 Answers
+ 5
Any other problem Send me code
2nd Oct 2020, 6:17 AM
Coder Kay
Coder Kay - avatar
+ 4
<em> tag is used to define emphasized text.
2nd Oct 2020, 6:17 AM
Coder Kay
Coder Kay - avatar
+ 2
Nope! Thanks for clarification
2nd Oct 2020, 6:19 AM
Dhruv Kohli
Dhruv Kohli - avatar