While developing a website with asp.net mvc-5, it's important to include our company's contact details like telephone, email, and postal address. That's why I utilized the <address>
tag within our "Contact US" page, replacing actual information with ***:
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 address">
<h2>Addresses</h2>
<address>
<div class="info">
<p><span class="footercolor">Telephone: </span><span>+******</span></p>
<p><span class="footercolor">FAX: </span><span class="marginfax">+*****</span></p>
<p class="mainaddress">3rd Floor, Bldg. 1(....),<br />... Str. .CityName</p>
<p><span class="footercolor">P</span>.<span class="footercolor">O</span>.<span class="footercolor">Box: </span><span>*****,**** 1212,CountryName</span></p>
<p><span class="footercolor">Email:</span><span> <a href="mailto:info@****.com " target="_top">info@*****.com</a></span></p>
</div>
</address>
</div>
I have a few inquiries regarding the use of the <address>
tag:
In this source, they indicate that the Tip: The
<address>
tag should NOT be used to describe a postal address, unless it is part of the contact information.. Why shouldn't I include the postal address in the<address>
tag?Is the
<address>
tag the appropriate method for displaying our company's contact details, or should it be reserved for providing information about the web site owner, such as creator identification and date of creation?What are the benefits of utilizing the
<address>
tag for contact information compared to simply placing it within a basic<div>
or<p>
tag?