Ted Drake wrote:
>> what is the best way to represent code.

I think you're on the right track with the < to &lt; path.  If you look at
the examples on ALA, you see they use the <pre><code></code></pre> style,
for example:

<div id="overall">
   <div class="col">
      <p>.</p>
      <p>.</p>
   </div>
   <div class="col">
      <p>.</p>
      <p>.</p>
   </div>
</div>

becomes: 

<pre><code>&lt;div id="overall"&gt;
   &lt;div class="col"&gt;
      &lt;p&gt;&#8230;&lt;/p&gt;
      &lt;p&gt;&#8230;&lt;/p&gt;
   &lt;/div&gt;
   &lt;div class="col"&gt;
      &lt;p&gt;&#8230;&lt;/p&gt;
      &lt;p&gt;&#8230;&lt;/p&gt;
   &lt;/div&gt;
&lt;/div&gt;</code></pre>

The <code> tag, per the W3C, "Defines computer code text"
http://www.w3schools.com/xhtml/xhtml_reference.asp

Can't get much more semantic than that. :)
Cheers,

Collin Davis
Web Architect
Stromberg Architectural Products
p     903.454.0904
f     903.454.3642
e     [EMAIL PROTECTED]
web www.strombergarchitectural.com



******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to