HTML Address

HTML element <address> can be used to define contact information, which can be a physical address, email, phone number, URL, social media handle, etc.,

Browsers render the content of this element as a block and display it in italic.

<address>
    Random Codez<br>
    123 Street, XYZ Avenue<br>
    Phone: 11-222-333-4444<br>
    Email: feedback@randomcodez.com
</address>

Example

We can check the outcome of the below HTML document to see how it looks.

<!doctype html>
<html lang="en">
<head>
</head>
<body>
    <h1>HTML Address</h1>
    <address>
        Random Codez<br>
        123 Street, XYZ Avenue<br>
        Phone: 11-222-333-4444<br>
        Email: feedback@randomcodez.com
    </address>
</body>
</html>

Overall

Make sure to use the address element to provide contact information.