And please, please, if using a table remember to include row and column
scope. On a table as small as this it is not really essential, but once the
table grows (or if served from a database where it could be any size) good
column and row headings with scope attributes are essential. 

<table summary="pretty bazillion product">
        <caption>My Product</caption>
        <tbody>
                <tr>
                        <th scope="rows">Product Number</th>
                        <td>12334</td>
                </tr>
                <tr>
                        <th scope="rows">Product Description</th>
                        <td>pretty</td>
                </tr>
                <tr>
                        <th scope="rows">Product Cost</th>
                        <td>bazillion</td>
                </tr>
        </tbody>
</table>

Graham Cook

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kornel Lesinski
Sent: Saturday, 18 December 2004 4:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Semantic Mark-Up for Product Catalog

On Fri, 17 Dec 2004 11:46:20 -0500, Michael Wilson <[EMAIL PROTECTED]>  
wrote:

> Chris Kennon wrote:
>> In the following name/value listing what would be the most semantic  
>> mark-up.
>
>> Product Name:
>>  Product Number:
>>   Product Description:
>>   Product Cost:
>
> I'd probably use a definition list:
>
> <dl>
>    <dt>My Product</dt>
>    <dd>Product Number: 123456</dd>
>    <dd>
>      <p>Product Description:</p>
>      <p>This is my product... Ain't it perty?</p>
>    </dd>
>    <dd>MSRP: $1 Bazillion (will trade for 4x4 in good condition)</dd>
> </dl>
>

How about a table? They're not always evil...

<table summary="pretty bazillion product">
<caption>My Product</caption>
<tbody>
<tr><th>Product Number</th><td>12334</td></tr>
<tr><th>Product Description</th><td>pretty</td></tr>
<tr><th>Product Cost</th><td>bazillion</td></tr>
</tbody>
</table>

..and Lynx WILL render that table! :D

-- 
regards, Kornel Lesiński

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

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

******************************************************
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