+ 9
I don't know , what the <div> tag do exactly!
Please answer me very simply 🤗 Thanks 😊
5 ответов
+ 7
Shortly I would say it's a container of information inside.
By default it's a block element but you can add class or id and change appearance of it using CSS or get it in JavaScript and animate / make any operation.
+ 19
It is block level element
See this related questions
It is also container for other element
it also use for css styling with class attribute
https://www.sololearn.com/discuss/2398710/?ref=app
https://www.sololearn.com/discuss/2443110/?ref=app
https://www.sololearn.com/discuss/2358558/?ref=app
https://www.sololearn.com/discuss/2431498/?ref=app
+ 17
It is a block level element
And you can use it as container for other elements
+ 5
It's used to signify a division or non-semantic section of a web page.
+ 2
In very short.
It's used as a parent container where , some text or styling is put in.