The Address

It's a good idea to provide a little information on each Web page about how to contact the author. HTML provides a convenient way to accomplish this, by means of the address element.

Here's an example of an address:

This page was authored by Virginia Slim. All correspondence should be sent to P.O. Box 3241, Bloomington IN, 47402, USA.

Of course, it might make more sense to include your e-mail address. It's a simple matter to embed a link to your e-mail address so the reader can instantly send you a message about your page. This is covered on the section about links.

Here's the HTML code:

<ADDRESS>
This page was authored by Virginia Slim.  
All correspondence should be sent to 
P.O. Box 3241, Bloomington IN, 47402, USA. 
</ADDRESS>

As you can see, the address element is delimited by the <ADDRESS> and </ADDRESS> tags. Most browsers display the content of the address element in italic text.

The address is a block-level element.


| Introduction to HTML | Tutorials |