What is the use of container in html? | SoloLearn: Learn to code for FREE!

0

What is the use of container in html?

1/9/2017 8:33:44 AM

Saumya Saloni

2 Answers

New Answer

+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 ;)

0

A container is used to regulate elements width and height ....