How to use html address tag? Detailed explanation of how to use the html address tag

寻∝梦
Release: 2018-08-20 14:14:39
Original
6135 people have browsed it

html What is the usage of address tag? Detailed explanation of how to use the html address tag. Let's start with the content of this article, which mainly talks about the usage and definition of the html address tag, as well as the specific usage of the html address tag (with examples attached)

html address tag usage and Definition: The

tag defines the contact information for the author/owner of a document or article.

If the

element is inside a element, it represents document contact information.

If the

element is inside an
element, it represents the article's contact information. Text within the

element is usually rendered in italics. Most browsers add lines before and after the address element.

HTML

Tag Example

Contact information for Example.com:

<address>
Written by <a href="mailto:webmaster@example.com">Donald Duck</a>.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
Copy after login

html address tag usage:

to define the address, signature, or authorship of the document.

can define an address (such as an email address). You should use it to define the address, signature, or authorship of the document.

Tags like this are indeed rarely used. The purpose of using these tags is for better semantics. Specific information such as address, signature, author, originator of this document. The content of the ADDRESS element is shown in italics.

All major browsers support the

tag.

The

tag supports HTML global attributes. The
tag supports HTML event attributes.

HTML 4.01 does not support the

tag, so in HTML 4.01 the
tag always defines the contact information of the document's author/owner.

html How to use the address tag:

Generally, there will be some website contact address information that needs to be displayed on the web page. These contact address information, such as the company's The address can be the

tag. You can also define an address (such as an email address), signature, or authorship of the document.

Syntax:

Contact address information

For example:

<address>文档编写:php中文网</address>
<address>
本文的作者:<a href="m.sbmmt.com">php</a>
</address>
Copy after login

The style displayed on the browser is italic , if you don’t like italics, of course you can, you can use css styles in later lessons to modify the default style of the

tag.

Tip: The

tag should not be used to describe a mailing address unless it is part of the contact information.

Tip: The

element is usually contained within a
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