<address>
address tag
The <address>
tag is used to present contact information related to a website or its author. This can include an email address, phone number, physical location, or links to relevant sites.
Syntax
<address>
Contact Information
</address>
address
Demo
If you encounter any issues, please reach out to the webmaster.
Visit us at:
Example.com
Box 564, Disneyland
USA
<address>
You can contact the author at
<a href="https://institute.qarpeo.com/contact">
www.institute.qarpeo.com</a>.<br />
If you encounter any issues, please
<a href="mailto:[email protected]">reach out to the webmaster</a>.<br />
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
Definition and Usage
- The
<address>
tag defines contact details for an article, section, or website owner. - It can include email, URLs, phone numbers, social media links, and physical addresses.
- Browsers generally display the text in italics and automatically add line breaks before and after the element.
<p>
element for general addresses unrelated to contact details. The <address>
tag should only contain contact information and is commonly placed in the <footer>
section.See also
Other section-related elements:
<body>
<nav>
<article>
<aside>
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<hgroup>
<footer>
<section>
<header>
Conclusion
The <address>
tag is a semantic HTML element used to present contact details like email, phone numbers, and physical addresses. It is commonly placed in the footer and rendered in italics by default. The element allows links for easy communication but should be reserved for contact-related details, while general addresses belong inside a <p>
element.
<acronym>
The HTML <acronym> element, once used for defining acronyms with an optional title attribute, is now obsolete and replaced by `<abbr>` for both acronyms and abbreviations.
<b>
The HTML <b> element displays text in bold purely for visual styling, without adding any semantic significance or emphasis to the content.