Reply to Re: How should I format an address?

Your name:

Reply:


Posted by Jukka K. Korpela on 02/01/06 22:27

Stan McCann <me@stanmccann.us> wrote:

> What's wrong with <address>?

For one thing, it is _defined_ (by HTML specs) to indicate contact
information for author of the document (or part of document), not an
address in general.

It is by default rendered in italics by some popular browsers, which is
just foolish.

You would need to indicate line breaks with <br>, and you would not be
able to use more adequate markup for the lines. You could not make the
lines _elements_. This is bad for styling.

You could use just <div class="address">, with inner <div> elements for
lines. Or you could make it a table, which is actually more logical
than it may sound. For more notes on this, see
http://www.cs.tut.fi/~jkorpela/html/address.html

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация