+ 9

I don't know , what the <div> tag do exactly!

Please answer me very simply 🤗 Thanks 😊

21st Aug 2020, 7:26 AM
Deleted Account
Deleted Account - avatar
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.
21st Aug 2020, 7:32 AM
Kathy
Kathy - avatar
+ 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
21st Aug 2020, 7:36 AM
ANMOL
ANMOL - avatar
+ 17
It is a block level element And you can use it as container for other elements
21st Aug 2020, 7:31 AM
Harsh
Harsh - avatar
+ 5
It's used to signify a division or non-semantic section of a web page.
23rd Aug 2020, 1:52 AM
Sonic
Sonic - avatar
+ 2
In very short. It's used as a parent container where , some text or styling is put in.
23rd Aug 2020, 6:13 AM
CoderBittu
CoderBittu - avatar