HTML grid

A grid is a set of columns that can by adapted to the user resolution. Mostly it used a set of div with CSS. Here a way.

Usual attributes

Attribute name Attribute value
class Set a value for CSS rules. The CSS rule will be applied to all tags with the same class name
id Set a unique value, it is useful for JavaScript or for CSS rule. For CSS it will be applied only for this tag
style Set a CSS value. The float CSS property will align each cell of the grid to the left. Using the clear property, it will stop this floatting alignment.

Example

Preview