Previous Message
Next Message

[css-d] OT: quick XHTML question

Sent by RUST Randal on 25 January 2002 12:12


Respond off list if you want.

I have a site that has been built in XHMTL 1.0. There are components 
in the site that are businesses, and I need to include their 
addresses on several pages.

In order to keep the address split apart, is the following method 
acceptable:

<div id="providerDetails">
<address>
<providerName>APPLE TREE CHILDREN'S CENTER</providerName>
<street>84 WEST AVON ROAD</street>
<city>AVON</city>
<state>CT</state>
<zipCode>06001</zipCode>
</address>
</div>

Can I use XML-style tags here? Just to make the code look more 
structured? Or will certain browsers run into the tags that aren't 
in the XHTML Transitional DTD and give the user an error?

This site will be moving to XML in the future, so this will work 
later on down the road, but I'm curious if I should really do this.

I've asked this on an XHTML message board, but didn't get an answer.

Randal Rust
Senior Consultant
Covansys, Inc.
Columbus, OH
Previous Message
Next Message

Message thread: