Hi!
IMHO the problem is, that the address tag is an inline element. I
would like to use it like this:
<address>
<dl>
<dt>name</dt>
<dd>street</dd>
<dd>city</dd>
<dd>country</dd>
<dd>phone</dd>
<dd>email</dd>
</dl>
</address>
But this is not valid XHTML... :(
Martin
Am Montag, 29. November 2004 um 10:55:45 haben Sie geschrieben:
NL> I'm curious if and how you are all using the address tag. The HTML 4
NL> spec has this to say:
NL> ----------------------------------------------
NL> The ADDRESS element may be used by authors to supply contact
NL> information for a document or a major part of a document such as a
NL> form. This element often appears at the beginning or end of a document.
NL> For example, a page at the W3C Web site related to HTML might include
NL> the following contact information:
NL> <ADDRESS>
NL> <A href="../People/Raggett/">Dave Raggett</A>,
NL> <A href="../People/Arnaud/">Arnaud Le Hors</A>,
NL> contact persons for the <A href="Activity">W3C HTML Activity</A><BR>
NL> $Date: 1999/12/24 23:37:50 $
NL> </ADDRESS>
NL> ----------------------------------------------
NL> ...and out of curiosity jumping ahead the xhtml2 spec says...
NL> ----------------------------------------------
NL> The address element may be used by authors to supply contact
NL> information for a document or a major part of a document such as a
NL> form. This element often appears at the beginning or end of a document.
NL> content model of address element
NL> The content model of the address element should be improved to improve
NL> its semantic processability.
NL> Attributes
NL> The Common collection
NL> A collection of other attribute collections, including: Core,
NL> Events, I18N, Bi-directional, Edit, Embedding, Map, and Hypertext
NL> Example:
NL> <address href="mailto:[EMAIL PROTECTED]">Webmaster</address>
NL> ----------------------------------------------
NL> On a "Contact Us" page I'm currently using it like so:
NL> <h3>Tasmania Office</h3>
NL> <ul>
NL> <li>Contact: Errol Flynn</li>
NL> </ul>
NL> <address>
NL> <p>PO Box 123</p>
NL> <p>Hobart TAS 7001</p>
NL> <p>ph.: (03) 6222 1234</p>
NL> <p>fax: (03) 6222 1235</p>
NL> <p>email: <a href="mailto:[EMAIL PROTECTED]">
NL> [EMAIL PROTECTED]</a></p>
NL> </address>
NL> However, the specs above don't make it fully clear if what I'm doing is
NL> wrong or right. The phrase "to supply contact information for a
NL> document or a major part of a document" seems to rule out it's most
NL> common use on a contact page as strictly speaking that's usually
NL> contact info for an organisation.
NL> Surely <address> simply applies as a block element to ANY address,
NL> however it then also seems unclear as to how to format the address
NL> within that block.
NL> Thanks,
NL> Nick
NL> ******************************************************
NL> The discussion list for http://webstandardsgroup.org/
NL> See http://webstandardsgroup.org/mail/guidelines.cfm
NL> for some hints on posting to the list & getting help
NL> ******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************