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.

Thanks

Dave

P.S., an observation:

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

;o)
Received on Friday, 9 May 2003 18:26:56 GMT

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