0

Really what is the use of div tag. I see many times that div tag is used inplace of <p> and etc....

28th May 2020, 4:37 PM
Hemanth Samudrala
Hemanth Samudrala - avatar
2 ответов
+ 2
Its a block lvl tag and generally used to group common contents like a Main article content in Wikipedia and etc... And in my code to group keypads But p tag has limited use for only paragraph but works almost same as div tag https://code.sololearn.com/W13085NdQ798/?ref=app
28th May 2020, 4:40 PM
Abhay
Abhay - avatar
+ 3
Div is used as a container to store stuff in it!
28th May 2020, 6:37 PM
Mehnaz ✨
Mehnaz ✨ - avatar