What is the use of container in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of container in html?

9th Jan 2017, 8:33 AM
Saumya Saloni
Saumya Saloni - avatar
2 Answers
+ 3
To contain a content... Are you sitting? The content can be... a container ^^ Well, a container isn't nothing else than a box. A virtual box using for organize content. You can avoid box, but your stuff will become hardly usable... So you get a big box, putting few medium box inside, and anothers more little box inside each box you need to subdivide its content, choosing adapted box size to what you want... It's quite the same for Html container, the stuff you store in it is the data you want display ;)
9th Jan 2017, 9:41 AM
visph
visph - avatar
0
A container is used to regulate elements width and height ....
3rd Mar 2017, 7:39 AM
Kamlesh Merugu
Kamlesh Merugu - avatar