Address tag_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:49
Original
1348 people have browsed it

address

The

address element is used to present contact information in the document, including the name of the document creator, site link, email address, real address, phone number, etc.; address is not just Used to represent the concept of an "address" such as an email address or a real address, but should include various contact information related to the person who created the document.

According to the above definition, we can use the following code to display the names and homepage links of some volunteers:

The HTML5 Doctor is run by the following group of volunteers:<address><a href="http://html5doctor.com/author/jacko">Jack Osborne</a>,<a href="http://html5doctor.com/author/richc">Rich Clark</a>,<a href="http://html5doctor.com/author/miker">Mike Robinson</a>,</address>
Copy after login

The following is another example, also using

and Elements:

<footer><div class="vcard"> by<address class="author">  <em class="fn"><a title="Posts by Jack Osborne" href="#">Jack Osborne</a></em></address> on<time datetime="2009-11-04" class="published updated">November 4th, 2009</time></div></footer>
Copy after login

If we really need to display some contact information in the page that is not related to the contact information of the current document creator, then we can use the hCard microformat:

<div class="vcard"><p class="fn"><a class="url" href="#">Dr. Jack Osborne</a><p><p class="adr"><span class="street-address">HTML5 Hospital</span><span class="region">Doctorville</span><span class="postal-code">Postal Code</span><span class="country-name">Great Britain</span></p><p class="tel">+44 (0)XXXX XXXXXX</p></div>
Copy after login

Concise version of HTML5 study notes (3): New elements: hgroup, header, footer, address, nav

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!