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

Re: longcode and longquote instead of blockcode and blockquote

From: Orion Adrian <orion.adrian@gmail.com>
Date: Thu, 7 Jul 2005 18:38:32 -0400
Message-ID: <abd6c801050707153832b8e60f@mail.gmail.com>
To: www-html@w3.org

On 7/7/05, David Dorward <david@dorward.me.uk> wrote:
> On Thu, Jul 07, 2005 at 06:22:12PM -0400, Orion Adrian wrote:
> > > I use block quotes because they contain paragraphs, or blocks of code
> > > - i.e. becuase I'm quoting blocks - not due to their length.
> > If that's the case then wouldn't <codeblock>
> If I'm quoting code? No. Although it might be useful to have a block
> element for holding code. Currently I use a <pre> with a <code> inside
> it. Although I would probably still use an inline code element inside
> that as sometimes I have several nested <code> (e.g. with classes
> "xml", "tag", "attribute", "value", etc) since that provides an
> elegent way to attach syntax highlighting in a stylesheet).

Is there any reason <code> doesn't assume preformatting? I've never
seen code that doesn't require preformatting to be readable.


Orion Adrian
Received on Thursday, 7 July 2005 22:38:37 UTC

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