HTML div tags

As a pure case it ..... no .... what attributes are
the default width of 100%

0 height
height is based on the contents of the DIV becomes higher
can also set the width and height .... in CSS
DIV is a typical label .. P UL LI and other labels
used DIV can do ...
they are all the DIV + CSS foundation formed ...

 

<div> is a block element.
This means that its contents automatically start a new line.
In fact, the new line is the <div> inherent only format performance.
Additional styles can be applied by the <div> class or id.

Guess you like

Origin www.cnblogs.com/rijiyuelei/p/12357560.html