Paul,
The definition list is suitable, as would be the use of lesser headings
<h3...h6>. What's wrong with a table though? This sort of data seems
perfectly suited to it.
<table>
<caption>Hurricane in LA</caption>
<tr><th colspan="2">Alerts</th></tr>
<tr><th colspan="2">Weather</th></tr>
<tr><th>Posted by:</th><td>Paul</td></tr>
<tr><th>Posted date:</th><td>December 15, 1940</td></tr>
<tr>
<td colspan="2">
<citation>Locals were shocked today when...</citation>
</td>
</tr>
</table>
That being said, I also think this post would receive more replies in the
WSG list - [EMAIL PROTECTED]
--
Paul A Noone
Webmaster, ASHM
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Bryson
Sent: Wednesday, 14 December 2005 7:03 AM
To: [email protected]
Subject: [WSG CMS] Proper semantics of a news posting
I need to display this information semantically for news postings. There
can either be one on the page, or several on the page where they are one
after the other.
Title (the name of news article, eg "Hurricane in LA")
Category (eg "Alerts")
Topic (an image with the appropriate ALT text, eg "Weather")
Posted by: <username>
Posted date: <date/time>
Article Text
Here is what I have so far
<h2>Hurricane in LA</h2>
<div>Alerts</div>
<div>Weather</div>
<dl>
<dt>Posted by:</dt>
<dd>Paul</dd>
<dt>Posted date:</dt>
<dd>December 15, 1940</dd>
</dl>
<div>Locals were shocked today when...</div>
My biggest problem is the Category/Topic. They are both descriptive of the
entire news article, but aren't stored as such. Their order/importance
isn't categorized either, so one could be above the other if desired.
Placing them in sub-headings doesn't seem appropriate because they describe
the title as much as anything else. The could almost go in the definition
list, but the <dt> for them would never be shown. And hiding text 100% of
the time is bad practice as search engines will count against you.
Any ideas how the Category/Topic could be appropriately stored without using
a DIV?
Paul
*********************************************************
The CMS discussion list for http://webstandardsgroup.org/
*********************************************************
*********************************************************
The CMS discussion list for http://webstandardsgroup.org/
*********************************************************