HTML HTLM5抢夺元
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HTML HTLM5抢夺元相关的知识,希望对你有一定的参考价值。
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>pageTitle</title>
<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">
<a href="#nav">Skip to Navigation</a> |
<a href="#main-content">Skip to Content</a>
</div>
<header role="banner">
<div class="masthead">
<a href="#"> ....site title or logo, purposely not an h1.... </a>
</div>
<nav id="nav">
<ul>
<li><a href="#">
....main site nav list....
</a></li>
</ul>
</nav>
<div id="secondary-nav">
<ul>
<li><a href="#">
....other non-primary navigation doesn't belong in a nav element....
</a></li>
</ul>
</div>
</header>
<section id="main-content" role="main">
<h1> ....page title here.... </h1>
<article>
<header>
<h2>....article heading if needed....</h2>
<h3>....article sub-heading if needed....</h3>
</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>
HTML htlm处女模板
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="/static/style.css" media="screen" />
<style type='text/css'>
</style>
<script type="text/javascript" src="/static/jquery.js"></script>
<script type='text/javascript'>
<!-- -->
</script>
</head>
<body>
</body>
</html>
以上是关于HTML HTLM5抢夺元的主要内容,如果未能解决你的问题,请参考以下文章