Mar 7

The ADDRESS Tag

Joe and I got to talking about this little-known HTML tag today. It’s an odd-bird — one of the few HTML tags that provides semantic meaning, as if it would be more at home in XML. I found this explanation, which is what Joe and I suspected:

The devisors of HTML hoped that this would be used to enclose addresses so that addresses could be recognised as such by indexing and cataloguing software.

What other intra-BODY HTML tags are meant to provide semantic meaning rather than formatting? An argument could be made for the set of TABLE tags, but they’re really formatting-related. ACRONYM provides formatting too, since it’s intended to expose a defintion on mouseover (along with DFN, for that matter). So do the defintion list tags: DL, DT, and DD.

Here are a few I found that fit into the same group as ADDRESS — tags that do nothing really special in the context of displaying HTML in a browser, but provide value when indexed or processed through some system that knows what they mean:

How many of these have you heard of? I couldn’t see that any of them have been deprecated as of HTML 4. The HTML spec refers to them as “phrase elements.”

Phrase elements add structural information to text fragments.

I’m guessing that Google is using them in some form. Does anyone have any resources to back this guess up?

Several months ago, I wished for this:

Lets make up an XML spec for information about your business. […] You could have fields for your business phone number, fax number, general email, directions on how to get to your office, stock ticker symbol, customer service phone number, etc. […] Now, lets all put this file in the root of our Web site and call it “info.xml.” That way we all know where it is, and we can all retrieve it.

Consistent use of the ADDRESS tag would handle at least part of this.


Comments

by Joe,   March 7, 2005 10:22 PM  

INS and DEL are also interesting - they can supposedly be used to mark changes within a document. How cool would that be in a wiki?


by hemebond,   March 8, 2005 12:47 AM  

"An argument could be made for the set of TABLE tags, but they're really formatting-related."

Tables are not formatting-related. They are for data. There are very few formatting-related elements, including i, b and maybe a couple of others, I'm not sure. The rest are all for structure and semantics.


by Apple Marketing,   January 23, 2007 10:56 AM  

Actually nearly all HTML tags are there to define structure (i.e. what type of information it is (such as a paragraph, heading etc) and table tags are most definately not formatting related! They are there so tabular information can be represented properly.

hemebond - i and b are depreciated and your best bet is "strong" and "em" (em for emphasis) which achieve semantically correct mark-up and usually the same visual results.

The issue of tables for layout is a large one. It causes major problems for people with disabilities as the way they render table based pages makes them almost impossible to use!

It's a shame that the CSS & div based model is not as robust as it should be though. But hey, now you can get fined for not having an accesible website so it's not some that can be ignored!



Add Comment


Want to advertise on this site? Contact FM.
Web Hosting Web hosting, dedicated servers and Web design services
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!