W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2003

WD-xhtml2-20030506: What is "computer code"?

From: Dave Hodder <dmh@dmh.org.uk>
Date: Fri, 9 May 2003 23:34:00 +0000
To: www-html-editor@w3.org
Message-ID: <20030509233400.A129@dmh.org.uk>

The <blockcode> element looks useful -- "<blockcode>foo</blockcode>"
would appear to be the equivalent of "<pre><code>foo</code></pre>".

One query -- the <blockcode> and <code> elements are both intended to
contain "a fragment of computer code".  It seems clear this covers the
likes of programming and scripting languages (C, Perl, etc.), but what
about other types of "computer code"?  For example:

  * Some SGML or LaTeX markup
  * An ASCII-armoured OpenPGP key
  * A UUencoded binary

I think some clarification of this in section 9.3 would be beneficial.



P.S., an observation:

        <code>&lt;blockcode/&gt;</code> element!
        Rich markup for computing;
        Poets feel left out

Received on Friday, 9 May 2003 18:26:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:48 UTC