What is the use of strong and em tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of strong and em tag?

<>hi shivam<strong> <>how are you</>

3rd Sep 2016, 4:54 PM
Shivam Shakya
Shivam Shakya - avatar
1 Answer
+ 1
<strong>hello</strong> =will make the text look bolder <style> p. test em{ font-size:20%; color:red; } =the em tag select the first p element with class called test (note:only select the first element)
7th Sep 2016, 7:18 AM
Alen Paul Varghese