HTML5 Web Authoring Tutorial: HTML5 Block-level links

Source: Internet
Author: User

Web page Production WEBJX article introduction: The Web Standard is full of face-beating behavior, and this rule is now dead! One months after the article was published, Html5doctor published the "Block-level" links in HTML5, quoting, that's what you wrote.

The English is called "block-level" links, I thought only I plant those bird hair does not know, did not expect not to know is also quite many, needs to popularize a bit.

Unfortunately, theWeb Standard is full of face-beating behavior, this rule is now invalid! One months after the article was published,HTML5doctor published "Block-level" links in HTML5, quoting, that's what you wrote:

<div class= "Story" >
<p><a href= "story1.html" >a Congress representing all the planet ' s women unanimously voted Bruce Lawson as Sexiest man alive.</a></p >
<p><a href= "story1.html" >read more</a></p>
</div>

Now you can write this in HTML5.

<article>
<a href= "story1.html" >
<p>a Congress representing all the planet ' s women unanimously voted Bruce Lawson as Sexiest man alive.</p>
<p>read more</p>
</a>
</article>

From a barrier-free perspective, just add alt-Descriptive text (more detailed information for read-screen users), without the need for artificial manufacturing spicy multiple "redundant" a! One of the HTML5 's thoughts is pragmatism, which is now said to be grounded gas, mmm-hmm.

Although this writing is not forward-compatible, the HTML5 doctor test shows that mainstream browsers support, which means:

You and your little friends can now use it in the project!
To be compatible with IE6/7 hand bugs, you need to include CSS code such as this in RESET.CSS:

1 A Div, a H3, a P, ... {#cursor: Hand}

HTML5 Web Authoring Tutorial: HTML5 Block-level links

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.