0
Really what is the use of div tag. I see many times that div tag is used inplace of <p> and etc....
2 odpowiedzi
+ 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
+ 3
Div is used as a container to store stuff in it!