HighDots Forums  

Re: mark up for restaurant menu

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: mark up for restaurant menu in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric B. Bednarz
 
Posts: n/a

Default Re: mark up for restaurant menu - 10-10-2003 , 12:12 PM






Brian <usenet1 (AT) mangymutt (DOT) com.invalid-remove-this-part> writes:

Quote:
I have to markup a couple of restaurant menus. Two examples follow:

Clam Chowder Cup 3.25 / Bowl 6.95
Thick New England-style clam chowder with [...]

Mixed Greens Starter 3.50 / Entrée 6.25
Tossed-to-order with your choice of any of [...]

I'm thinking of using a dl list.
It's not wrong, in the sense that the prose of the HTML 4 spec actually
proposes ambiguous usage of 'definition' lists. But IMNSHO that's more
of a reason to avoid it altogether, just like ACRONYM. No semantics are
preferable over confusion.

Quote:
Any thoughts about this? It seems to make more sense than a table to me.
Why? I wouldn't know what's wrong with

<table summary="Overview, prices and description of available dishes">
<tr>
<th id="cc">Clam Chowder</th>
<td headers="cc">Cup 3.25 / Bowl 6.95</td>
</tr>
<tr>
<td headers="cc" colspan="2">Thick New England-style...</td>
</tr>
<tr>
<th id="mg">Mixed Greens</th>
<td headers="mg">Starter 3.50 / Entrée 6.25</td>
</tr>
<tr>
<td headers="mg" colspan="2">Tossed-to-order with your...</td>
</tr>
</table>

for example. You might wish to improve the summary, though.

--
"The average usefulness of a thread is inversely proportional to the
cube of the number of groups it is posted to."
--Korpela's 42nd Law about Usenet


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.