your text here, link or images
with the generic content " your text here, link or images" inserted between the start and end tags and class attribute is giving form of div tag. Download HTML Div layout Program Code here See the following code, in which I used a different div for each block. HTML Div Element. The a (anchor) tag is dead The HTML div tag is used for defining a section of your document. It is used to divide or section of other HTML tags in to meaningful groups. The div and span tag are two common tags when creating pages using HTML and perform different functionality on them while div tag is a block level element and span is inline element The div tag creates a line break and by default creates a division between the text that comes after the tag as begun and until the tag ends with
. It's commonly used in web authoring for styling purposes, in conjunction with the style and class attributes. The
element should be used only when no other semantic element (such as
or