How is work teg <div="selection"> </div> | Sololearn: Learn to code for FREE!

0

How is work teg <div="selection"> </div>

Is it effects the begcolour or can we replace it with teg <div>

1/25/2020 11:41:55 AM

amit Choudhary

2 Answers

New Answer

+2

// amit kumar it Will work if style is applied to div not to a class ,Here are some info note: you are missing Id or class attribute https://www.sololearn.com/learn/CSS/1080/?ref=app

+1

See this link https://www.w3schools.com/tags/tag_div.asp