Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference between div and span?
#1
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
Reply


Messages In This Thread
Difference between div and span? - by beingchinmay - 07-24-2017, 05:04 PM
RE: Difference between div and span? - by taniag - 09-30-2017, 01:50 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Describe the difference between cookies, sessionStorage, and localStorage. Kajal 3 16,204 07-15-2020, 12:00 PM
Last Post: RH-Calvin
  What is the difference between mysql_fetch_object() and mysql_fetch_array()? Kajal 1 3,516 07-15-2020, 11:55 AM
Last Post: RH-Calvin
  Difference between swing and AWT? beingchinmay 0 2,987 04-13-2016, 02:39 PM
Last Post: beingchinmay
  What is the difference between $message and $$message? beingchinmay 0 2,814 04-11-2016, 05:19 PM
Last Post: beingchinmay

Forum Jump:


Users browsing this thread: 2 Guest(s)