Oops.. Currently, there are no active offers available. Please check back later!
Unlock New Skills – Dive into Our Curated Course Collection Today!

  • Login
Website Logo
  • Home
  • Projects
  • Courses
  • Contact
  • Blog
  • Client Services
  • Our Portfolio
Join Now

Course Category

  • Python
  • React Js
  • Django
    • Python Django Tutorial: Build a Comprehensive Student Management System | Python Projects & Django in Hindi
    • Master Django: Build a High-Performance Blog Website from Scratch 📝💻
  • Symfony
  • Laravel
  • Node Js
  • JavaScript
  • Bootstrap
  • Sylius
  • Wordpress
  • HTML5
  • CSS3
Learn More
Education Logo Images

At WebifyDev, we believe that great things happen when talented and motivated individuals come together.

  • example@gmail.com
  • (302) 555-0107
  • Home
  • Courses
  • About Us
  • Contact
  • Blog
  • Faqs
  • Privacy Policy
Enroll Now
Find With Us
Education Images
  • blog-image
    Dev Patel in HTML5
  • 08 Nov 2024

How to Use the <address> Tag in HTML to Define Contact Information

The <address> HTML tag is designed for defining contact information related to a webpage or article author. Learn how to properly use the <address> tag to enhance accessibility and organize contact details in HTML.

How to Use the <address> Tag in HTML to Define Contact Information
Learn how to use the <address> tag in HTML to provide structured and accessible contact information on your website.

What is the <address> Tag?

The <address> HTML tag is used to provide contact information for the author or owner of a document or article on a webpage. This tag helps organize contact information, making it accessible and structured for both users and search engines.

Basic Syntax of the <address> Tag


<address>
  Written by John Doe.<br>
  Visit us at:
Example.com
1234 Example Ave.
City, Country
Phone: (123) 456-7890 </address>

In this example, the <address> tag wraps the contact information, making it easy to identify for browsers and screen readers. The tag may include an individual’s or organization’s contact details, such as address, phone number, and website link.

Attributes of the <address> Tag

The <address> tag does not have specific attributes but can include HTML elements such as <a> for email addresses or links, <br> for line breaks, and <p> for paragraph formatting. Here’s an example:


<address>
  Contact us at: <a href="mailto:info@example.com">info@example.com</a><br>
  Phone: (123) 456-7890<br>
  Address: 1234 Example Ave., City, Country
</address>

Best Practices for Using the <address> Tag

  • Use It Only for Contact Information: Reserve the <address> tag for genuine contact information like physical address, phone numbers, and email addresses.
  • Combine with Links: Use the <a> tag within <address> for clickable email addresses or website URLs.
  • Place at the Bottom of the Page: Typically, <address> is placed in the footer, but it can also appear near author bios or contact sections.

Example: Using <address> in a Footer

Below is an example of how you might use the <address> tag in a website footer:


<footer>
  <address>
    Contact us: <a href="mailto:contact@example.com">contact@example.com</a> | (123) 456-7890<br>
    Address: 1234 Example Ave., City, Country
  </address>
</footer>

Conclusion

The <address> tag is an essential element for adding structured contact information to your website. It enhances accessibility and provides clear, organized details, making it easier for visitors to reach you.

HTML 5
blog-image
Dev
Author

👨‍💻 Dev Patel | Software Engineer 🚀 | Passionate about crafting efficient code, optimizing systems, and building user-friendly digital experiences! 💡

0 Comments

  • No comments yet. Be the first to comment!

Leave a Comment

Related Post

Similar Post

How to Use HTML Comments in HTML5 for Better Code Clarity
How to Use HTML Comments in HTML5 for Better Code Clarity
Read Article
Understanding the <!DOCTYPE> Declaration in HTML5: A Guide for Web Developers
Understanding the <!DOCTYPE> Declaration in HTML5: A Guide for Web Developers
Read Article
Understanding the <a> HTML Tag: How to Create Effective Hyperlinks for SEO and Accessibility
Understanding the <a> HTML Tag: How to Create Effective Hyperlinks for SEO and Accessibility
Read Article
WebifyDev Logo

At WebifyDev, we believe that great things happen when talented and motivated individuals come together.

Contact With Us
Useful Links
  • Home
  • My Account
  • Dashboard
  • Courses
  • Blog
  • Our Portfolio
  • Lucky Draw
Our Company
  • About
  • Contact Us
  • Client Services
  • Privacy Policy
  • Terms of Service
  • Cancellation & Refund Policy
  • Shipping Policy
  • Faqs
Get Contact
  • E-mail: webifydev.team@gmail.com
  • Address: Swarnim Dharti, Ahmedabad, Gujarat 382421

Copyright © 2025 WebifyDev. All Rights Reserved.

  • Privacy Policy
  • Login & Register