0

Why do you always have to put a <div class="container"> in? Why can't <body> have the class of container?

That means every HTML page starts with

 <body>
  <div class= "container">
  </div>
 </body>

It's kind of extra work/code/indenting/stuff to keep track of.

Liam
  • 27,717
  • 28
  • 128
  • 190

0 Answers0