In this topic, we described about the <address> tag along with detailed example.
Specifies the contact information for a page or document. The <address> tag used to create the 'address' element. Also indicates the contact information for an article or author of the document.
If the <address> element is inside the <body> element, it represents contact information for the whole document. If the <address> element is inside an <article> element, it represents contact information for that article. The address should specify in between the opening and closing tags <address>..</address>.
The <address> tag must not be used to represent addresses like postal addresses. To display postal addresses, use the <p> tag.
The <address> tag should not contain <article>, <aside>, <nav>, <section>, <header>, <footer>, <hgroup>, <h1>-<h6> or other <address> tags.
All most all browsers will add a line break before and after the address element. <address> tag is a replacement of <article> tag from HTML 4.01 onwards.
<address>.. text here.. </address>
<!DOCTYPE html> <html> <head> <title> address example</title> </head> <body> <address> Visit us at: <a href="https://www.tutorialscampus.com">www.tutorialscampus.com</a> <b>Office located at:</b>Hyderabad, India. </address> </body> </html>