HTML5 1.10 Micro Format

Source: Internet
Author: User

1. Micro-format

A.HTML5 in the micro-format. is a way to add additional information to a Web page by using new tags in HTML5 additional information such as the date and time of the occurrence of the comforting time, the date of the article publication, etc.

B. is to simplify the browser to extract data, convenient search engine searching

2.time elements

A.pubbdate attributes, plus his search engine/browser can easily identify that date is the article, the News published date

B.<time datetime= "2016-3-15" pubbdate= "Pubbdate" >2016 year March 15 </time>

C.<time datetime= "2016-3-15t21:00" >2016 March 15 night 9 o'clock </time>

D.<time datetime= "2016-3-15t21:00z" >2016 March 15 night 9 o'clock </time>. T means to use when encoding the machine

UTC Standard Time, which means to encode the machine another time, if the local time is encoded, you do not need to add slack

E.<time datetime= "2016-3-15t21:00+09:00" > Us time March 15, 2016 Night 9 o'clock </time>

3.hgroup elements

A. Usually used to group headings, usually placed in the header, but not mandatory, nor absolute

4.address elements

A. Usually used to describe the author's contact information, such as name, e-mail, telephone, address

The contents of the B.address element are displayed in italics

5. Advantages of the new layout

A. Greater emphasis on content rather than form

B. Friendly to people, more semantic, highly descriptive, more intuitive, increase the readability of the Code

C. Computer friendly, browser easier to parse

D. The code is more concise

<! DOCTYPE html>

<meta charset= "UTF-8" >

<title>hgroup</title>

<style type= "Text/css" >

</style>

<body>

<address>

* * Email: [Email protected]

</address>

</body>

HTML5 1.10 Micro Format

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.