CSS Division and Usage

by Prasun Roy 02-Jul-16

240 0 459

The <div> tag known as a division or a section in an HTML document. The <div> tag is used to anything from text to images to videos can be placed within a div. Div are similar to tables but they are easier to use to format them with CSS.

Div tag start with <div> and end with </div>

Example:

<div> <img src="welcome.jpg" alt="" /> </div>


Share:

Comments

Leave a Reply