Mike,
Thats an interesting point. I always thought that any given <dt> or
<dd> should hold one piece of information only. If nesting stuff inside
them like that is completely legit that certainly opens up a lot of
possibilities.
Consider this:
<dl>
<dt><img src="house_photo.jpg" /></dt>
<dt>123 Property Address</dt>
<dd>3 Bedrooms | 1.5 Baths</dd>
<dd>$150,000</dd>
<dd>View Link</dd>
</dl>
This is how I've been marking up property lists (single list unit
shown), which is where my previous example was coming from. Your
example seems to capture the information relationship pretty well
though....hmmmm
Mike at Green-Beast.com wrote:
I'm curious, Joseph, wouldn't that be better like this?
<h2>Our News</h2>
<dl>
<dt>2006-12-09</dt>
<dd>
<h3>News Headline</h3>
<p>Teaser statement for the article.</p>
<p>Link to Full Story</p>
</dd>
</dl>
Assuming of course this would be valid as it would be with any other kind of
list (I didn't check).
Respectfully,
Mike Cherim
http://green-beast.com/
----- Original Message -----
From: "Joseph R. B. Taylor" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 09, 2006 11:42 AM
Subject: Re: [WSG] Semantics of news
I myself have been marking up new summaries with definition lists. Very
practical.
<dl>
<dt>My Article Headline</dt>
<dd>2006-12-09</dd>
<dd>Teaser statement for the article</dd>
<dd>Link to Full Story</dd>
</dl>
You can alter this format as well, like:
<dl>
<dt>2006-12-09</dt>
<dt>Headline for my Article</dt>
<dd>Teaser statement for the article</dd>
<dd>Link to Full Story</dd>
</dl>
Headings would be used to precede to news summaries all together, like:
<h3>My Site's latest Articles</h3>
<dl>
<dt>My Article Headline</dt>
<dd>2006-12-09</dd>
<dd>Teaser statement for the article</dd>
<dd>Link to Full Story</dd>
</dl>
<dl>
<dt>My Article Headline</dt>
<dd>2006-12-09</dd>
<dd>Teaser statement for the article</dd>
<dd>Link to Full Story</dd>
</dl>
etc....
Rob Kirton wrote:
The only time this wouldn't be a correct structure is if the first H3
was preceeded by an H1 and not an H2
It is slightly conterintuitive to place an H3 above an associted H2.
If the title is the most important fact, above that of date (seems
sensible). The use of H2 and H3 is fine
--
Regards
- Rob Kirton
Raising web standards : http://ele.vation.co.uk
Connecting to others : http://www.linkedin.com/in/robkirton
<http://www.linkedin.com/in/robkirton>
On 09/12/06, *Tim White* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi, list.
What do you think is the best semantic markup for such a structure
----
06.12.2006(date)
Here goes some title of the new,(example "Manchester United Have Lost
Their Mojo")
{and here goes a couple of passages of text - excerpt or full text of
the news}
---
[snip]
Some popular CMS's use
h3{date}
h2{title}
<p>{content}</p>
This is usually how I do it (or at least something similar).
But i don't think it is correct heading structure
Why don't you think this is a correct structure?
~ Tim
www.tjameswhite.com/blog <http://www.tjameswhite.com/blog>
------------------------------------------------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
<http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
<http://webstandardsgroup.org/join/unsubscribe.cfm>
Help: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006
12:53 PM
--
Joseph R. B. Taylor
*Sites by Joe, LLC*
/Custom Web Design & Development/
http://sitesbyjoe.com
(609) 335-3076
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
begin:vcard
fn:Joseph R. B. Taylor
n:Taylor;Joseph
org:Sites by Joe, LLC
adr:;;408 Route 47 South;Cape May Court House;NJ;08210;USA
email;internet:[EMAIL PROTECTED]
tel;work:609-335-3076
tel;cell:609-335-3076
x-mozilla-html:FALSE
url:http://sitesbyjoe.com
version:2.1
end:vcard