The HTML Elements reference.

"div" - html element

  • This element offer a generic mechanism for adding structure to documents.
  • The <DIV> tag is used to divide a document up into artificial sections such as chapters, sections, appendix and so on.
  • Starttag <div> is Required and endtag </div> is Required
  • Browsers that support the div - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari

align (deprecated), class , dir , id , lang , style , title

Attribute "align" value(s): depend on which element left, center, right or justify
  • Specifies the horizontal alignment of its element with respect to the surrounding context.
  • You should use styles (CSS) instead.
Possible attribute, align, values for this element:
Attribute value description
left Text lines are rendered flush left.
center Text lines are centered.
right Text lines are rendered flush right.
justify Text lines are justified to both margins.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.