An Intro to HTML <address> Tag
The <address>
is a block level HTML element i.e it occupies the entire horizontal space of its parent element(aka container) and vertical space will be based on the height of its contents.
The address
is a container tag that can be used to provide contact information. The contact info can be of a person or people or an organization of a document or an article.
With HTML, a reset button can be added in a form with <input />
tag. For that, we need to specify an attribute type
with "reset"
value as type="reset"
This tag is semantic solution to display contact information of a document or an article.
If the <address>
element is used within the <body>
element, then it illustrates the contact information for the document. And if it’s within an
Syntax
<address>
Contents
</address>
Example
<address>
<p>
Organization Name: MeshWorld <br />
Web Site: <a href="https://meshworld.in" target="_blank"> MeshWorld</a>
<br />
Twitter:
<a href="https://twitter.com/meshworldindia" target="_blank"> MeshWorld</a>
<br />
Location : Surat, Gujarat, India 🇮🇳
</p>
</address>
Output
Organization Name: MeshWorld
Web Site: MeshWorld
Twitter: MeshWorld
Location : Surat, Gujarat, India 🇮🇳
Hope you like this
Happy 😄 coding
With ❤️ from 🇮🇳