Why should I use a container div in HTML?

前端 未结 9 1661
陌清茗
陌清茗 2020-12-23 14:33

I have noticed a common technique is to place a generic container div in the root of the body tag:


  
    ...
  
  <         


        
9条回答
  •  無奈伤痛
    2020-12-23 15:00

    Most of the browser are taking web page size by default. So, sometime page will not display same in different browser. So, by using user can change for specific HTML element. For example, user can add margin, size, width, height etc of specific HTML tag.

提交回复
热议问题