Tuesday, July 1, 2008

The <address> element

The address element is an inline element. Unlike other inline elements, it can be a child element of the body element but cannot be a child of the p element. It can, however, be a child of the div element.

The <address> element is used only for the contact address of the author of a web page. It is not used for other addresses.

It can contain physical addresses or phone numbers or just an email address.

Example: <p>Here is my address:</p> <address>chetancrasta@gmail.com</address>

No comments: