Div is a block-level element that creates a line break to make separate containers or boxes within a page or document, hence its an abbreviation for 'division', whereas span is a generic container for inline elements and content that allow us to apply styles and other attributes to the content within the span element.
1. In mathematics, div is used as an abbreviation for division. 2.
http://www.w3.org/TR/REC-html32#block
Document division
Division. The DIV tag is is designed to allow you to define "divisions" of a page (or to "divide a page into logical containers").
Bear in mind that the definition of div is completely different in HTML5.
The div element has no special meaning at all. It represents its children.
http://www.w3.org/TR/html5/grouping-content.html#the-div-element
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With