HTLM5抓举
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HTLM5抓举相关的知识,希望对你有一定的参考价值。
HTLM 5 using the google snatch meta tag hiearchy
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="robots" content=""> <meta name="author" content=""> <link rel="stylesheet" href="default.css"> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="accessibility"> </div> <header role="banner"> <div class="masthead"> </div> <nav id="nav"> <ul> ....main site nav list.... </ul> </nav> <div id="secondary-nav"> <ul> ....other non-primary navigation doesn't belong in a nav element.... </ul> </div> </header> <section id="main-content" role="main"> <article> <header> </header> ....article content here.... </article> <article> ....use more article elements if appropriate; if not, I still use divs.... </article> </section> <aside id="sidebar"> ....site sidebar here.... </aside> <footer> .... footer content here .... </footer> </body> </html>
以上是关于HTLM5抓举的主要内容,如果未能解决你的问题,请参考以下文章