W3C home > Mailing lists > Public > www-html@w3.org > January 2003

RE: div & span

From: Simon Jessey <simon@jessey.net>
Date: Fri, 17 Jan 2003 07:53:29 -0500
To: "Ben-Nes Michael" <miki@canaan.co.il>, "w3" <www-html@w3.org>
Message-ID: <PIEMJOKPMDHGPMNDNEIDAEBBCAAA.simon@jessey.net>



-----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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT