RE: div & span

-----Original Message-----
From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf Of
Ben-Nes Michael
Sent: Friday, January 17, 2003 4:28 AM
To: w3
Subject: div & span

Any one can please explain me what is the difference between <span> and
<div> ?


<div> is block level and <span> is inline, but since CSS gives you the
ability to choose display:block or display:inline, they are more or less
interchangeable.

Simon Jessey
w: http://jessey.net/blog/
e: simon@jessey.net

Received on Friday, 17 January 2003 08:32:39 UTC