CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <div> element

The <div> Element

Text Content

The <div> element, when used with global attributes like "dir", "id", "class", "lang", "style", etc., offers a generic mechanism for adding structure or styling information to flow content in documents.

Attributes for <div>
TypeAttribute List
'Standard' Attributes(none)
New HTML5 Attributes"writingsuggestions"
Obsolete Attributes"align"

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem