当前位置: 首页 > 工具软件 > hCard > 使用案例 >

基本微格式hCard

郎鸿
2023-12-01

基本地址和网址,使用微格式标记。

<div id="hcard-Christopher-John-Coyier" class="vcard">
 <a class="url fn n" href="http://chriscoyier.net">
  <span class="given-name">Christopher</span>
  <span class="additional-name">John</span>
  <span class="family-name">Coyier</span>
</a>
 <div class="org">CSS-Tricks</div>
 <a class="email" href="mailto:[email protected] "> [email protected] </a>
 <div class="adr">
  <div class="street-address">123 Appleseed Street</div>
  <span class="locality">Chicago</span>, <span class="region">IL </span> <span class="postal-code">60647</span>
  <span class="country-name">United States</span>
 </div>
 <div class="tel">555-555-5555</div>
</div>

翻译自: https://css-tricks.com/snippets/html/basic-microformatted-hcard/

 类似资料: