Horje
How to create HTML <address> for Contact Information

The HTML <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.


Example of HTML <address> for Contact Information

<address>
Written by John Doe.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

Full Example of HTML <address> for Contact Information

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>The HTML address element defines contact information (author/owner) of a document or article.</p>

<address>
Written by John Doe.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

</body>
</html>

Output should be:

Full Example of HTML <address> for Contact Information





Related Articles
What is HTML Quotations HTML Quotations
How to create HTML <blockquote> for Quotations HTML Quotations
How to create HTML <q> for Short Quotations HTML Quotations
How to create HTML <abbr> for Abbreviations HTML Quotations
How to create HTML <address> for Contact Information HTML Quotations
How to create HTML <cite> for Work Title HTML Quotations
How to create HTML <bdo> for Bi-Directional Override HTML Quotations

Single Articles
Example of HTML <address> for Contact InformationHTML Quotations
Full Example of HTML <address> for Contact InformationHTML Quotations

Read Full:
HTML Quotations
Category:
Web Tutorial
Sub Category:
HTML Quotations
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
41


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_formatting_address

Share on: