W3C home > Mailing lists > Public > www-html@w3.org > July 2005

Re: longcode and longquote instead of blockcode and blockquote

From: David Dorward <david@dorward.me.uk>
Date: Thu, 7 Jul 2005 23:43:17 +0100
To: www-html@w3.org
Message-ID: <20050707224317.GC23607@us-lot.org>

On Thu, Jul 07, 2005 at 06:38:32PM -0400, Orion Adrian wrote:
> Is there any reason <code> doesn't assume preformatting? I've never
> seen code that doesn't require preformatting to be readable.

Well, its an inline element for a start. That sort of white space
handling is generally reserved for blocks, and if <code> became a
block it would throw my nested <code> technique right off.

I also use small fragments of code in the middle of normal paragraphs.

e.g. <p>The <code>&lt;p></code> element etc etc

David Dorward                                      http://dorward.me.uk
Received on Thursday, 7 July 2005 22:43:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:11 UTC