Tutorials 参考 练习 Menu
Paid Courses

HTML <address> Tag


Example

Contact information for Example.com:

<address>
Written by <a href="mailto:webmaster@example.com">Jon Doe</a>.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
来试试吧 »

Definition and Usage

The <address> tag defines the contact information for the author/owner of a document or an article.

The contact information can be an email address, URL, physical address, phone number, social media handle, etc.

The text in the <address> element usually renders in italic, and browsers will always add a line break before and after the <address> element.


Browser Support

Element
<address> Yes Yes Yes Yes Yes

Global Attributes

The <address> tag also supports the Global Attributes in HTML.


Event Attributes

The <address> tag also supports the Event Attributes in HTML.


Related Pages

HTML DOM reference: Address Object


Default CSS Settings

Most browsers will display the <address> element with the following default values:

Example

address {
  display: block;
  font-style: italic;
}
来试试吧 »





W3Schools is optimized for learning and training. 示例 might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2021 by Refsnes Data. All Rights Reserved.
W3Schools is Powered by W3.CSS.