Should an agent's address really be a definition list??
If you want that sort of semantic pedantry, the markup should be:
<block tag>
<hx>Acme Estate Agents</hx>
<dl>
<dt>Address</dt>
<dd>
The...House<br/>
Lodge Roa...4DD</dd>
<dt>Telephone</dt>
<dd>0208 457 4777</dd>...
</dl>
</block tag>
I DO think that definition lists are over used and often misused.
They should really only be used for concise definitions. An list of
untitled contact details does not constitute a concise definition of
an agent. Otherwise, the idea of web data becoming machine-readable
is defeated.
Stephen
On 30 Jan 2006, at 11:48, Martin Heiden wrote:
Darren,
on Monday, January 30, 2006 at 12:26 wsg@webstandardsgroup.org wrote:
http://ta.rt-ms.net/2/properties.html
http://ta.rt-ms.net/2/propertydetails.html
You've got some problems in your HTML:
1. with/height attributes of img tags don't accept units.
2. the inputs need name attributes (but I guess you will add these
later)
You should provide some alt-Text for the images of the properties.
A page title would be nice ;-)
Maybe you should wrap the ie7 script in a conditional comment for
only IE using it.
The use of strong in:
<p>Image <strong>1</strong> of <strong>10</strong></p>
isn't very semantic IMHO, but substituting it by span doesn't add much
value too.
For the address I'd use a definition list:
<dl id="agent">
<dt>Acme Estate Agents</dt>
<dd>The White House</dd>
<dd>Lodge Road</dd>
<dd>NW4 4DD</dd>
<dd>Tel: 0208 457 4777</dd>
<dd>Fax: 0208 457 4765</dd>
<dd><a href="contactagent.html">Email Agent</a></dd>
</dl>
instead of:
<div id="agent">
<h2>Acme Estate Agents</h2>
<p>The White House<br />
Lodge Road<br />
London<br />
NW4 4DD</p>
<p>Tel: 0208 457 4777</p>
<p>Fax: 0208 457 4765</p>
<p><a href="contactagent.html">Email Agent</a></p>
</div>
You could also add some classes for defining the microformat.
regards
Martin
******************************************************
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
******************************************************