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

Re: div & span

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Fri, 17 Jan 2003 12:04:28 +0100
Message-ID: <3E27E33C.8000007@jonasj.dk>
To: www-html@w3.org

Ben-Nes Michael wrote:
> Any one can please explain me what is the difference between <span> and
> <div> ?

<div> is block-level, <span> is inline. <div> compares to <span> as 
<blockquote> compares to <q> / <quote>.

See <http://www.w3.org/TR/html4/struct/global.html#h-7.5.4>.

/Jonas
Received on Friday, 17 January 2003 06:04:30 GMT

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