Loading...
Loading...
00:00:00

<address> tag in html5

The <address> tag in HTML5 is used to provide contact information for a document or a section of a document. This tag is typically used to specify the contact details of the author of the document or the organization responsible for the content.

The <address> tag is a block-level element and is typically displayed in italic font. The information within the tag should be relevant to the document or the section it is included in, and it is usually placed at the end of a document or a section.

The following are some of the commonly used information within an <address> tag:

  • The name of the author or organization
  • Postal address
  • Email address
  • Phone number
  • Fax number
  • Website URL

It is important to note that the <address> tag is not meant for specifying the physical address of a web page. Instead, it is used to provide contact information for the author or organization behind the content.

Here is an example of how to use the <address> tag in HTML5:

<h1>About Us</h1>
<p>We are a leading provider of online courses in various fields. Our mission is to provide high-quality education to learners around the world.</p>

<address>
  <strong>Contact Us:</strong><br>
  Pandit Programmer Pvt.<br>
  123 Main Street<br>
  Anytown, IN 12345<br>
  Phone: (123) 456-7890<br>
  Email: mail@panditprogrammer.com<br>
  Web: <a href="https://www.panditprogrammer.com">www.panditprogrammer.com</a>
</address>

In this example, the <address> tag provides contact information for the organization behind the content. The information within the tag includes the name of the organization, postal address, phone number, email address, and website URL.

It is also possible to use multiple <address> tags within a single document to provide different contact information for different sections or parts of the document.

In conclusion, the <address> tag in HTML5 is a useful tool for providing contact information for a document or a section of a document. It is typically used to specify the details of the author or organization responsible for the content and is usually displayed in italic font. The information within the tag should be relevant to the document or the section it is included in and should include details such as the name of the author or organization, postal address, email address, phone number, fax number, and website URL.