Enter HTML5 entry to proficient:<address> label

Source: Internet
Author: User
Keywords tags HTML5 Getting started to master

<address> Label

Definitions and usage

<address> label defines the contact information for the author or owner of the document.

If the <address> element is inside the <article> element, it represents the contact information for the author or owner of the article.

Instance

<address>
Written by w3school.com.cn<br/>
<a href= "mailto:us@example.org" >email us</a><br/>
Address:box 564, disneyland<br/>
Phone: +12 34 56 78
</address>

Try it yourself, the code is as follows:

<! DOCTYPE html>
<html>
<body>
<address>
Written by w3school.com.cn<br/>
<a href= "mailto:us@example.org" >email us</a><br/>
Address:box 564, disneyland<br/>
Phone: +12 34 56 78
</address>
</body>
</html>

Differences between HTML 4.01 and HTML 5

HTML 4.01 does not support <article> tags, so in HTML 4.01 <address> tags always define contact information for the author or owner of the document.

Tips and Comments:

Note: You should not use the <address> tag to describe postal addresses unless the information is part of the contact information.

Note:<address> elements are usually rendered italic. Most browsers add line wraps around the element.

Standard properties

<address> tags support standard properties in HTML 5.

Event Properties

<address> tags support event properties in HTML 5.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.