div B7HCX3SEITVGFHAQ46YLY6KFVZX6N6YQHLEDMOY





DIV - Generic Block-level Container
















DIV - Generic Block-level Container





Syntax
<DIV>...</DIV>


Attribute Specifications


ALIGN=[ left | center | right | justify ] (horizontal alignment)
common attributes




Contents
Inline elements, block-level elements


Contained in
APPLET, BLOCKQUOTE, BODY, BUTTON, CENTER, DD, DEL, DIV, FIELDSET, FORM, IFRAME, INS, LI, MAP, NOFRAMES, NOSCRIPT, OBJECT, TD, TH


The DIV element defines a generic block-level container, allowing authors to provide style or language information to blocks of content. The element may contain any inline or block-level element, including another DIV.
The DIV element is most useful in combination with the CLASS, ID, or LANG attributes. For example, a navigation bar could be contained within a DIV marked as CLASS=navbar, allowing the author to use style sheets to easily change the background of all navigation bars on a site, or to eliminate navigation bars when printing.

The deprecated ALIGN attribute suggests the horizontal alignment for the content of the division on visual browsers. Possible values are left, right, center, and justify. <CENTER> is a slightly better-supported alias for <DIV ALIGN=center>, though both methods of centering are deprecated in favor of style sheets, which provide greater flexibility in suggesting alignment.

SPAN is a text-level equivalent of DIV for use within paragraphs and inline elements.
More Information

DIV in W3C HTML 4.0 Recommendation
DIV in W3C HTML 3.2 Recommendation
DIV in WDG HTML 3.2 Reference
DIV in Learning HTML 3.2 by Examples


Maintained by Liam Quinn <liam@htmlhelp.com>
HTML 4.0 Reference ~ Elements by Function ~ Elements Alphabetically
Copyright © 1998 Liam Quinn. All rights reserved.





Wyszukiwarka

Podobne podstrony:
function gmp div q
div
function gmp div r
div (2)
div
PVector div
fun11 12 13 14 add sub mul div en
div (8)
function gmp div qr

więcej podobnych podstron