What is the main importance of the <div> element and how can i use it.. Detailed explanation is needed. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 5

What is the main importance of the <div> element and how can i use it.. Detailed explanation is needed.

Main importance of the <div> element

22nd Jan 2018, 3:41 AM
Benjamin Akorful
Benjamin Akorful - avatar
2 ответов
+ 5
divs are used to delimit a certain portion of code you can wrap in it many other element types or many other divs. it is used as a container !
22nd Jan 2018, 4:32 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 4
div is a container which separate any element. it is mostly used for Styling using Css and you can used it for several time. you can give name to the particular Div by Id or name.
22nd Jan 2018, 4:40 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar