Home >Web Front-end >HTML Tutorial >What is the use of address tag?

What is the use of address tag?

云罗郡主
云罗郡主Original
2019-02-01 14:39:183956browse

html address tag syntax

What is the use of address tag?

What is the use of the address tag: Defines the contact information of the document author/owner. [Recommended tutorial: HTML tutorial]

Description: If the

element is inside a element, it represents the contact information for the author/owner of the document. If the
element is inside an
element, it represents the contact information for the author/owner of the article. The text of the
element is usually rendered in italics. Most browsers will add line breaks before and after this element.

Note: The

tag should not be used to describe postal addresses unless this information is part of contact information. The
element is usually included with other information within the
element.

html address tag example

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<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>
</body>
</html>


The above is the detailed content of What is the use of address tag?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more