07-24-2017, 05:04 PM
The ‘div’ and the ‘span’ tags are quie t frequently used tags in HTML. The proper understanding f these tags are very much important for a web HTML developer.This article is shows what are the characteristics of both these tags. Understanding the difference between both tags will help to use them in appropriate place.
DIV Tag
:
1.As the name indicates, the div tag defines a ‘division’ in a web page.
2.div is a block-element; its default display value is “block”.
3.div tag is commonly used while creating Css based layouts in html.
4.by default, a line-
break is placed before and after this element
DIV Tag
:
1.As the name indicates, the div tag defines a ‘division’ in a web page.
2.div is a block-element; its default display value is “block”.
3.div tag is commonly used while creating Css based layouts in html.
4.by default, a line-
break is placed before and after this element