HTML address tag
Example
Contact information for Example.com:
<address>
Written by <a href="mailto:webmaster@example.com">Samridh Kumar</a>.<br>
Visit us at:<br>
Example.com<br>
Gandhi Path<br>
India
</address>
Written by <a href="mailto:webmaster@example.com">Samridh Kumar</a>.<br>
Visit us at:<br>
Example.com<br>
Gandhi Path<br>
India
</address>
Written by Samridh Kumar.
Visit us at:
Example.com
Gandhi Path
India
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.
Global Attributes
The <address>
tag also supports the Global Attributes in HTML.
Event Attributes
The <address>
tag also supports the Event Attributes in HTML.
Default CSS Settings
Most browsers will display the <address>
element with the following default values:
Example
address {
display: block;
font-style: italic;
}
display: block;
font-style: italic;
}
Comments
Post a Comment