This tag is used to create different sections on the web browser for navigation bar,advertisement,display the information etc,.
To work with div tag,programmers have to make use of CSS properties like height,width,background-color,float.
Heightand width are used to change the dimensions of div tag.
Background-color property is used to change the background for div tag.
Float property is used to fit the div tag position.Float CSS property is mandatory for div tag.
For float CSS property we can pass two values they are,
Border CSS property is used to provide the border for div tag.
Note :By default,browsers always place a line break before and after div tag.