'div' Syntax and Note : div « HTML Tag Reference « HTML CSS Reference






'div' Syntax and Note

Note:

Group elements. 

This element can act as a layer which makes the <layer> element obsolete 
for versions of NN4+ and IE. 

The <div> element causes a line space before and after the contents.

<layer> and <ilayer> would still be required to maintain compatibility with those 
browsers when using event handlers.
   
Syntax:
    
<div attributes events> . . . </div>
           

      
      








Related examples in the same category

1.'div' HTML Attributes
2.'div' Event Handlers
3.'div' CSS Attributes and JavaScript Style Properties
4.'div' Example
5.'div' Microsoft Behaviors
6.'div' Microsoft Filters
7.'div' JavaScript Properties
8.'div' JavaScript Methods
9.'div' JavaScript Collections
10.'div' JavaScript Objects