The average document at mozilla.org looks like this (wrapper omitted):

<center>
<h1>The Title of the Page</h1></center>
<table border="1" width="70%">
  <tr>
    <td>
    <p><b>This is not for Netscape...</b>
    </td>
  </tr>
</table>
<font size="4"><b>Level 2 heading</b></font>
<blockquote>
  <p>Paragraph blah blah<br>
  <br>
  Another paragraph
</blockquote>
<font size="4"><b>Another level 2 heading</b></font>
<blockquote>
  <p>Paragraph blah blah<br>
  <br>
  Another paragraph
  <p><b>Level 3 heading</b><br>
  Paragraph
  <ul>
    <li>list item
    <li>list item <tt>document.all</tt>
  </ul>
</blockquote>


Not good...

All this is better expressed with standard HTML:

<h1>The Title of the Page</h1>
  <p class="note">This is not for Netscape...</p>
  <h2>Level 2 heading</h2>
    <p>Paragraph blah blah</p>
    <p>Another paragraph</p>
  <h2>Another level 2 heading</h2>
     <p>Paragraph blah blah</p>
     <p>Another paragraph</p>
     <h3>Level 3 heading</h3>
       <p>Paragraph</p>
       <ul>
         <li>list item
         <li>list item <code>document.all</code>
       </ul>

I suggest we use this general mapping:
<blockquote> -> out
<center> -> out
<br><br> -> real HTML paragraphs
<font size="4"><b> -> <h2>
<b>...</b><br> -> <h3>...</h3>
<tt> -> <code> (if it is code)

The point is that HTML Strict is ideal for expressing content like the 
texts on www.mozilla.org, but currently the content is just obfuscated 
with <blockquote>, <font>, <center> and <b>.

-- 
Henri Sivonen
[EMAIL PROTECTED]
http://www.clinet.fi/~henris/

Reply via email to