- From: Anne van Kesteren <annevk@opera.com>
- Date: Fri, 20 Jul 2007 12:48:56 +0200
- To: "Robert Burns" <rob@robburns.com>, "HTML WG" <public-html@w3.org>
On Fri, 20 Jul 2007 08:55:48 +0200, Robert Burns <rob@robburns.com> wrote: > The <pre><code> example seems like less than best practice. Why not > simply use <code style='white-space: pre;' >some code with line- > breaks</code> or even just <pre class='c-plusplus-code' >some c++ code > here</pre>. Either of those contain the same or more semantics without > adding another level to the hierarchy. The former won't work when CSS is disabled (CSS is an optional language). The latter doesn't give you any semantics unless you define some microformat. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Friday, 20 July 2007 10:49:23 UTC