A section in a document that will be displayed in green:
The <div> tag defines a division or a section in an HTML document.
The <div> tag is often used to group block-elements to format them with styles.
The <div> tag is supported in all major browsers.
Hint: The div element is very often used with CSS to layout a web page.
Note: Browsers usually place a line break before and after the div element.
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <div> tag supports the following standard attributes:
More information about Standard Attributes.
The <div> tag supports the following event attributes:
More information about Event Attributes.
Your Query was successfully sent!