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





Recommended Pages
CSS - Block Level (element|box)

CSS 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...
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

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

CSS 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...
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)

CSS 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...
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...
HTML - Form element

HTML form is an element that represents a user-submittable form. When parsed as HTML, a form element's start tag will imply a p element's end tag just before. The pizza order form (taken...
Firebug Layout
HTML - Layout

layout float with div table html5



Share this page:
Follow us:
Task Runner