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

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

25th Jan 2020, 11:41 AM
amit Choudhary
amit Choudhary - avatar
2 Answers
+ 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
25th Jan 2020, 12:19 PM
Sudarshan Rai
Sudarshan Rai - avatar
25th Jan 2020, 12:23 PM
Pedro H.J
Pedro H.J - avatar