The <address>
tag in HTML is used to define the contact information for the author or owner of a document or article. This tag is typically used at the end of a document or article, but it can also be used within the body of the document to provide contact information for a specific section or paragraph.
The <address>
tag is a semantic tag that provides information about the author or owner of a document or article. This tag is used to provide contact information such as the author's name, email address, physical address, or phone number. The <address>
tag is typically used at the end of a document or article, but it can also be used within the body of the document to provide contact information for a specific section or paragraph.
The <address>
tag is an inline element, which means that it is used to define a section of text within a larger block of text. This tag is often used in conjunction with other semantic tags such as <article>
, <section>
, or <footer>
to provide additional information about the content of the document or article.
Here are some examples of how the <address>
tag can be used in HTML:
<article>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, velit vel bibendum bibendum, nunc sapien bibendum velit, vel bibendum velit sapien vel velit. Sed euismod, velit vel bibendum bibendum, nunc sapien bibendum velit, vel bibendum velit sapien vel velit.
<address>
Written by John Doe
Email: john.doe@example.com
Phone: 555-555-5555
</address>
</article>
<section>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, velit vel bibendum bibendum, nunc sapien bibendum velit, vel bibendum velit sapien vel velit. Sed euismod, velit vel bibendum bibendum, nunc sapien bibendum velit, vel bibendum velit sapien vel velit.
<address>
</address>
</section>
<footer>
© 2021 Example Company. All rights reserved.
<address>
</address>
</footer>