<address>: The HTML Address Element

1 Description

The <address> element is used to contain a mailing address. Typically each line of the mailing address will end with a <br> (line break) element so that the address is displayed in the web browser the same way it is written on an envelope or on a package.

2 Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>Example HTML Page</h1>
        <p>Below is an example of an address element.</p>
        <address title="ABC Company Inc. mailing address">
            ABC Company Inc.<br/>
            1234 Example Street<br/>
            New York City, NY 10001
        </address>
    </body>
</html>

This document was last updated: