What is real propose of <div> tag I get confused is it as container or what? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is real propose of <div> tag I get confused is it as container or what?

8th Dec 2017, 12:43 PM
Sa'ad Awad
7 Answers
+ 4
This question has been posted and brought up much too many times. Please use the Search bar with keyword "div" (without quotes) you should see how many times this question has been repeated. Help the community to reduce duplicates, by searching first prior to making a new copy, you would be doing a great help for the community that way : )
8th Dec 2017, 10:32 AM
Ipang
+ 4
You should learn CSS course. div working together with class and id attribute, which its element could be styled using CSS.
8th Dec 2017, 12:53 PM
Calviղ
Calviղ - avatar
+ 2
I thank best answer of it is ,To learn CSS and get every answers.
9th Dec 2017, 11:47 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
+ 1
it sufferate the element in a container or you can say as a box. it is very simple to use and it makes the programme easily to modify using CSS mostly for styling.
8th Dec 2017, 10:42 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
+ 1
thank you everyone 😊
8th Dec 2017, 9:47 PM
Sa'ad Awad
- 1
Div tag is used to declare an id.
8th Dec 2017, 12:05 PM
Isair Calhawk
Isair Calhawk - avatar