What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-html, is-html-element, from-w3c
DivElement  
The div element is a container element for other block-level elements.

You are here: Home > HTML Reference > Elements > <div> element

Usage

HTML 5 says, "The div element represents nothing at all. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."

Attributes

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
appears in DOM Y Y Y Y Y Y Y Y
applies style Y N N Y Y Y Y Y

Further reading


Comment by murilosants, May 31, 2008

I want to learn abou <div> position... Where I will find about this?


Sign in to add a comment