What is the use of <div> tag in HTML | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

What is the use of <div> tag in HTML

17th Dec 2017, 12:17 PM
Anand Limbu
Anand Limbu - avatar
4 ответов
17th Dec 2017, 2:05 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
https://www.w3schools.com/tags/tag_div.asp
17th Dec 2017, 12:28 PM
Anwar
Anwar - avatar
+ 1
Div is used to structure your html doc, and help to group some elements to use common styles https://www.tutorialspoint.com/html/html_div_tag.htm
17th Dec 2017, 12:19 PM
Dima Makieiev
Dima Makieiev - avatar
0
You can use it when you are wrapping other elements without any semantic meaning.
17th Dec 2017, 2:21 PM
Eric Snell
Eric Snell - avatar