html5标签,纠结了这么长时间还是整出来了,下面是html代码分享下!
遇到一个问题就是删掉html5.J之后jquery写的一个简单的下拉就好了,说明IE真的落伍了!微软你要顶住!
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>html5标签的具体应用-37℃</title>
<meta name="application-name" content="" />
<meta name="msapplication-tooltip" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="">
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script type="text/javascript">
/*@cc_on(function(h,a){function l(a){for(var b=-1;++b<m;)a.createElement(i[b])}function n(a,b){if(!a.length)return"";for(var f=-1,d=a.length,e,c=[];++f<d;)e=a[f],(b=e.media||b)!="screen"&&c.push(n(e.imports,b),e.cssText);return c.join("")}var c=a.createElement("div");c.innerHTML="<z>i</z>";if(c.childNodes.length!==1){var i="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),m=i.length,r=RegExp("(^|\\s)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),s=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),t=RegExp("(^|[^\\n]*?\\s)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)([^\\n]*)({[\\n\\w\\W]*?})","gi"),o=a.createDocumentFragment(),j=a.documentElement;c=j.firstChild;var g=a.createElement("body"),k=a.createElement("style"),e;l(a);l(o);c.insertBefore(k,c.firstChild);k.media="print";var p=function(){var c=-1,b=n(a.styleSheets,"all"),f=[],d;for(e=e||a.body;(d=t.exec(b))!=null;)f.push((d[1]+d[2]+d[3]).replace(r,"$1.iepp_$2")+d[4]);for(k.styleSheet.cssText=f.join("\n");++c<m;){b=a.getElementsByTagName(i[c]);f=b.length;for(d=-1;++d<f;)b[d].className.indexOf("iepp_")<0&&(b[d].className+=" iepp_"+i[c])}o.appendChild(e);j.appendChild(g);g.className=e.className;g.innerHTML=e.innerHTML.replace(s,"<$1font");h.detachEvent("onbeforeprint",p)};h.attachEvent("onbeforeprint",p);var q=function(){g.innerHTML="";j.removeChild(g);j.appendChild(e);k.styleSheet.cssText="";h.detachEvent("onafterprint",q)};h.attachEvent("onafterprint",q)}})(this,document);;@*/
</script>
<![endif]-->
<style>
@charset "utf-8";
/*
◇ Ver:2011.04.25_10:00
◇ Manage:37℃
◇ Editor:37℃
*/
/*- Html Tags Reset -*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, figure {padding:0; margin:0; }
body {font:12px/1.5 Arial,Tahoma,Helvetica,simsun,sans-serif; color:#555; }
abbr,article,aside,bb,datagrid,datalist,details,dialog,eventsource,figure,figcaption,footer,header,mark,menu,meter,nav,output,progress,section,time {display: block; height:auto; }
table{border-collapse:collapse; border-spacing:0; }
ol, ul{list-style:none outside; }
h1, h2, h3, h4, h5, h6{font-size:100%; }
fieldset, img{border:0 none; vertical-align:middle; }
a{color:#555; text-decoration:none; }
a:hover{color:#39C; text-decoration:underline; }
em{font-style:normal; }
input, textarea{padding:2px; }
textarea{overflow-y:auto; }
input,select,textarea {font:12px Arial,Tahoma,simsun; }
button{overflow:visible; padding:0;vertical-align:middle; }
button,label{cursor:pointer; }
.clearfix:after{content:"."; height:0; visibility:hidden; display:block; clear:both; font-size:0; line-height:0; }
.clearfix{display:inline-block; }
.clearfix{display:block; }
.header,.main-page,.footer{ width:980px;margin:0 auto; overflow:hidden; display:block;}
</style>
<body>
<header class="header">
<article class="top-header">
<figure class="logo">
<a href="#"><img width="173" height="78" title="www.1000li.com,上海**电子商务科技有限公司" alt="上海**电子商务科技有限公司" src="images/logo.jpg"></a>
</figure>
<ul>
<li>企业客服热线:400-000-1000</li>
<li>韩寒</li>
<li>退出</li>
</ul>
</article>
<nav class="navigation">
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
</ul>
<div class="search">
<input type="text" class="search-text" autocomplete="off" autofocus="true" name="" id="" accesskey="">
<select name="">
<option value="">搜产品</option>
</select>
<button class="search-submit" type="submit">搜索</button>
</div>
</nav>
</header>
<section class="main-page">
<aside class="category-wrap">
<h3>产品库</h3>
<dl>
<dt>按分类</dt>
<dd>
<ul>
<li><a href="#">分类名称</a></li>
<li><a href="#">分类名称</a></li>
<li><a href="#">分类名称</a></li>
</ul>
</dd>
<dt>按主题</dt>
<dd>
<ul>
<li><a href="#">主题名称</a></li>
<li><a href="#">主题名称</a></li>
<li><a href="#">主题名称</a></li>
</ul>
</dd>
</dl>
<h3>方案库</h3>
<dl>
<dt>全部方案</dt>
<dd>
<ul>
<li><a href="#">方案一</a></li>
<li><a href="#">方案二</a></li>
<li><a href="#">方案三</a></li>
</ul>
</dd>
</dl>
</aside>
<article class="product-list">
<p>尊敬的上海公司,上午好! 欢迎来到**营销系统! 如果您在使用中遇到任何问题,请及时拨打客服热线:400-000-1000。</p>
<div class="warpper-banner">
<ul>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
</ul>
</div>
<div class="wrap-news">
<h3><a href="#">更多</a>公司新闻</h3>
<ul>
<li><a href="#">***营销系统上线...</a></li>
<li><a href="#">***营销系统上线...</a></li>
<li><a href="#">**营销系统上线...</a></li>
<li><a href="#">**营销系统上线...</a></li>
</ul>
</div>
<section class="guide-content">
<nav class="recommend-products">
<h3>推荐产品</h3>
<ul>
<li><a href="#">家电</a></li>
<li><a href="#">鲜花</a></li>
<li><a href="#">爱心捐赠</a></li>
<li><a href="#">户外</a></li>
<li><a href="#">更多</a></li>
</ul>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:180元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:180元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<nav class="recommend-products">
<h3>产品</h3>
<span><a href="#">更多</a></span>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<nav class="recommend-products">
<h3>产品</h3>
<span><a href="#">更多</a></span>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<div class="join-information">
<h3>加盟信息</h3>
<p>这里是邀请加盟信息这里是邀请加盟信息</p>
</div>
<div class="tips">
<h3>小技巧</h3>
<p>这里是小技巧这里是小技巧</p>
</div>
</section>
</article>
</section>
<footer class="footer">
<div class="footer-nav"><a href="#">关于千礼</a><a href="#">联系我们</a><a href="#">招聘英才</a><a href="#">企业官网</a></div>
<p>Copyright©2011 All Rights Reserved 版权所有©</p>
<p>增值电信业务经营许可证:沪ICP备1000号</p></footer>
</body>
</html>
遇到一个问题就是删掉html5.J之后jquery写的一个简单的下拉就好了,说明IE真的落伍了!微软你要顶住!
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>html5标签的具体应用-37℃</title>
<meta name="application-name" content="" />
<meta name="msapplication-tooltip" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="">
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script type="text/javascript">
/*@cc_on(function(h,a){function l(a){for(var b=-1;++b<m;)a.createElement(i[b])}function n(a,b){if(!a.length)return"";for(var f=-1,d=a.length,e,c=[];++f<d;)e=a[f],(b=e.media||b)!="screen"&&c.push(n(e.imports,b),e.cssText);return c.join("")}var c=a.createElement("div");c.innerHTML="<z>i</z>";if(c.childNodes.length!==1){var i="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),m=i.length,r=RegExp("(^|\\s)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),s=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),t=RegExp("(^|[^\\n]*?\\s)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)([^\\n]*)({[\\n\\w\\W]*?})","gi"),o=a.createDocumentFragment(),j=a.documentElement;c=j.firstChild;var g=a.createElement("body"),k=a.createElement("style"),e;l(a);l(o);c.insertBefore(k,c.firstChild);k.media="print";var p=function(){var c=-1,b=n(a.styleSheets,"all"),f=[],d;for(e=e||a.body;(d=t.exec(b))!=null;)f.push((d[1]+d[2]+d[3]).replace(r,"$1.iepp_$2")+d[4]);for(k.styleSheet.cssText=f.join("\n");++c<m;){b=a.getElementsByTagName(i[c]);f=b.length;for(d=-1;++d<f;)b[d].className.indexOf("iepp_")<0&&(b[d].className+=" iepp_"+i[c])}o.appendChild(e);j.appendChild(g);g.className=e.className;g.innerHTML=e.innerHTML.replace(s,"<$1font");h.detachEvent("onbeforeprint",p)};h.attachEvent("onbeforeprint",p);var q=function(){g.innerHTML="";j.removeChild(g);j.appendChild(e);k.styleSheet.cssText="";h.detachEvent("onafterprint",q)};h.attachEvent("onafterprint",q)}})(this,document);;@*/
</script>
<![endif]-->
<style>
@charset "utf-8";
/*
◇ Ver:2011.04.25_10:00
◇ Manage:37℃
◇ Editor:37℃
*/
/*- Html Tags Reset -*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, figure {padding:0; margin:0; }
body {font:12px/1.5 Arial,Tahoma,Helvetica,simsun,sans-serif; color:#555; }
abbr,article,aside,bb,datagrid,datalist,details,dialog,eventsource,figure,figcaption,footer,header,mark,menu,meter,nav,output,progress,section,time {display: block; height:auto; }
table{border-collapse:collapse; border-spacing:0; }
ol, ul{list-style:none outside; }
h1, h2, h3, h4, h5, h6{font-size:100%; }
fieldset, img{border:0 none; vertical-align:middle; }
a{color:#555; text-decoration:none; }
a:hover{color:#39C; text-decoration:underline; }
em{font-style:normal; }
input, textarea{padding:2px; }
textarea{overflow-y:auto; }
input,select,textarea {font:12px Arial,Tahoma,simsun; }
button{overflow:visible; padding:0;vertical-align:middle; }
button,label{cursor:pointer; }
.clearfix:after{content:"."; height:0; visibility:hidden; display:block; clear:both; font-size:0; line-height:0; }
.clearfix{display:inline-block; }
.clearfix{display:block; }
.header,.main-page,.footer{ width:980px;margin:0 auto; overflow:hidden; display:block;}
</style>
<body>
<header class="header">
<article class="top-header">
<figure class="logo">
<a href="#"><img width="173" height="78" title="www.1000li.com,上海**电子商务科技有限公司" alt="上海**电子商务科技有限公司" src="images/logo.jpg"></a>
</figure>
<ul>
<li>企业客服热线:400-000-1000</li>
<li>韩寒</li>
<li>退出</li>
</ul>
</article>
<nav class="navigation">
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
<li><a href="#">首页</a></li>
</ul>
<div class="search">
<input type="text" class="search-text" autocomplete="off" autofocus="true" name="" id="" accesskey="">
<select name="">
<option value="">搜产品</option>
</select>
<button class="search-submit" type="submit">搜索</button>
</div>
</nav>
</header>
<section class="main-page">
<aside class="category-wrap">
<h3>产品库</h3>
<dl>
<dt>按分类</dt>
<dd>
<ul>
<li><a href="#">分类名称</a></li>
<li><a href="#">分类名称</a></li>
<li><a href="#">分类名称</a></li>
</ul>
</dd>
<dt>按主题</dt>
<dd>
<ul>
<li><a href="#">主题名称</a></li>
<li><a href="#">主题名称</a></li>
<li><a href="#">主题名称</a></li>
</ul>
</dd>
</dl>
<h3>方案库</h3>
<dl>
<dt>全部方案</dt>
<dd>
<ul>
<li><a href="#">方案一</a></li>
<li><a href="#">方案二</a></li>
<li><a href="#">方案三</a></li>
</ul>
</dd>
</dl>
</aside>
<article class="product-list">
<p>尊敬的上海公司,上午好! 欢迎来到**营销系统! 如果您在使用中遇到任何问题,请及时拨打客服热线:400-000-1000。</p>
<div class="warpper-banner">
<ul>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
<li><a href="#"><img width="520" height="170" title="" alt="" src="images/banner.jpg"></a></li>
</ul>
</div>
<div class="wrap-news">
<h3><a href="#">更多</a>公司新闻</h3>
<ul>
<li><a href="#">***营销系统上线...</a></li>
<li><a href="#">***营销系统上线...</a></li>
<li><a href="#">**营销系统上线...</a></li>
<li><a href="#">**营销系统上线...</a></li>
</ul>
</div>
<section class="guide-content">
<nav class="recommend-products">
<h3>推荐产品</h3>
<ul>
<li><a href="#">家电</a></li>
<li><a href="#">鲜花</a></li>
<li><a href="#">爱心捐赠</a></li>
<li><a href="#">户外</a></li>
<li><a href="#">更多</a></li>
</ul>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:180元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:180元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P>
<span><a href="#">易威斯堡运动</a></span>
<span>价格:<b>180</b>元 | 库存:充足</span>
</P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<nav class="recommend-products">
<h3>产品</h3>
<span><a href="#">更多</a></span>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">产品名称</a></P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<nav class="recommend-products">
<h3>产品</h3>
<span><a href="#">更多</a></span>
</nav>
<article class="hot-sale-content">
<ul>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
<li>
<a href="#"><img width="170" height="170" title="" alt="" src="images/bann.jpg"></a>
<P><a href="#">方案名称</a></P>
</li>
</ul>
</article>
</section>
<section class="guide-content">
<div class="join-information">
<h3>加盟信息</h3>
<p>这里是邀请加盟信息这里是邀请加盟信息</p>
</div>
<div class="tips">
<h3>小技巧</h3>
<p>这里是小技巧这里是小技巧</p>
</div>
</section>
</article>
</section>
<footer class="footer">
<div class="footer-nav"><a href="#">关于千礼</a><a href="#">联系我们</a><a href="#">招聘英才</a><a href="#">企业官网</a></div>
<p>Copyright©2011 All Rights Reserved 版权所有©</p>
<p>增值电信业务经营许可证:沪ICP备1000号</p></footer>
</body>
</html>