HTML - Div element (no meaning)

About

The div element has no special meaning at all. It's a generic content.

The div element is an element of last resort, for when no other element is suitable to apply a semantic

If you want to organize a text in logical unit, you should use the section element

The div elements can be useful for:

See also: CSS - Block container box

Rendering

div elements are rendered as block boxes.

Documentation / Reference





Discover More
CSS - Block Level (element|box)

Block-level refers to the (HTML) elements that are formatted visually as blocks. See for more information: Except for table boxes, and replaced elements, a block-level box can also be a block container...
CSS - Block container box

A block container box is just a container of boxes created from HTML container element and rendered as a block box. It cancontains either: only block-level boxes (generated from elements) or establishes...
Boxdim
CSS - Box Shadow

CSS shadow on a box is created via the box-shadow property that attaches one or more drop-shadows to the box. A div element to create a box with a shadow The css applied to the class shadowedBorderBox...
CSS - Function

A css function is a function that can be used in a CSS property value to calculate complex styling requirement. Css function are mostly used with CSS Variable. Below we define the space unit variable...
Css Box Size Content
CSS - Height of a box

This page is the height of a box. From How it's calculated To How it's defined HTMLheight attributeHTMLimage...div element When a absolute length value is set, the value applied directly...
Boxdim
CSS - Length Value (Size)

CSS Lengths refer to horizontal or vertical measurements. The format of a length value is a number (with or without a decimal point) immediately followed by a unit identifier where: number is...
CSS Position - Relative Positioning (Static > Relative)

relative is a positioning scheme that positions a box: according to the normal flow, then translate the box position with the offset properties (ie top, left, right, bottom) . The offset properties...
HTML - (Flow|Body) Content

Most elements that are used in the body of documents and applications are categorized as flow content. Flow content consists of flow elements intermixed with normal character data. (ifbodhead...
Firebug Layout
HTML - Layout

layout float with div table html5
HTML - Palpable content

As a general rule, elements whose content model allows any flow content or phrasing content should have at least one node in its contents: that is palpable content (Can be manipulated ?) and that...



Share this page:
Follow us:
Task Runner