Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the HTML tag "div" short for?

Tags:

html

People also ask

Why is it called div in HTML?

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.

What does a div stand for?

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