The ZDNet chinadiv element is an element for providing structures and backgrounds for the contents of the block-level in the HTML document. All content between the start tag and the end tag is used to constitute this block, where the characteristics of the elements are controlled by the attribute of the DIV tag, or by using the style table formatted this block. Internet Explorer and Netscape browsers support DIV tags.
Many developers of Div and Span confused the DIV elements with the span element. Although they are identical, SPAN is used to define embedded content rather than large block content. You can use a DIV tag for paragraphs, but SPAN is useful for imparting special features for one or more words in paragraphs.
The DIV tag allows you to split a web page to format and demonstrate it. It can be used in combination with the skill of visibility to split the contents of the page and display the content you choose.
The sample code below uses the DIV tab to split the page into multiple areas; hyperlinks will display and hide these areas: