Home > Web Front-end > Front-end Q&A > How to use html address tag

How to use html address tag

青灯夜游
Release: 2019-05-28 11:20:28
Original
3415 people have browsed it

html The address tag is used to define the contact information of the document author/owner and is usually included among other information in the footer element. The text of the address element is usually rendered in italics, and most browsers add line breaks before and after the element.

How to use html address tag

#html How to use address tag?

html The address tag defines the contact information of the document author/owner.

Note:

If the

element is inside a element, it represents the contact information of 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>
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template