HTML address: Main Tips
<address>element specifies contact details, associated with the authors of certain web sites, pages, sections, files or articles.
<address>can be formatted according to a certain context.
- The HTML
<address>tags contain various information such as links, phone numbers, email addresses, social media handles, physical addresses, etc.
Theory is great, but we recommend digging deeper!
Use and Purpose of address
<address> element adds the related contact information of an author of an article or a document. This element is often combined with HTML mailto property to quickly contact the author via email.
<address> Written by <a href="mailto:[email protected]">BitDegree</a>. Visit us at: https://www.bitdegree.org/<br> </address>
Note: the text within the <address> tags is rendered in italics.
<address> element is placed within an <article> element, it acts as contact information for that article.
<article> <h2>HTML Explained</h2> <p>HTML is a universal language and one of the easiest for beginners to learn. </p> <address> Written by <a href="mailto:@bitdegree.org">Bitdegree</a>. Visit us at: https://www.bitdegree.org/ <br> </address> </article>