码迷,mamicode.com
首页 > Web开发 > 详细

Html学习之十三(导航栏的制作)

时间:2019-03-30 23:57:20      阅读:266      评论:0      收藏:0      [点我收藏+]

标签:ida   ati   inter   sid   url   time   ref   focus   最新   

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>导航效果</title>
        <style type="text/css">
            .tab-item{
                list-style: none;
                font-family: "宋体";
                font-size: 18px;
                text-decoration: none;
                cursor: pointer;
                float: left;
                border: 1px darkgray solid;
                overflow: hidden;
                background-image: none;
                margin: 0px 5px;
            }
            .k{
                height: 50px;
                width: 700px;
                border: greenyellow 1px solid;
            }
        </style>
    </head>
    <body>
        <div class="k">
            <ul>
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/redirect?sid=df2287313a6e62ec&amp;url=.%2F" target="_top" data-href="./">首页推荐</a>
                <a class="tab-item" hidefocus="false" href="http://www.btime.com/?from=gjl" target="_blank" data-page="http://www.btime.com/" data-jump="http://www.btime.com/?from=gjl" data-nordr="yes">新闻头条</a>                
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/brother.html#!tv" target="_top" data-page="http://cdn.inf.360kan.com/daohang/dianshi.html" data-jump="http://www.360kan.com/dianshi/index.html" data-nordr="yes">电 视 剧</a>
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/brother.html#!movie" target="_top" data-page="http://cdn.inf.360kan.com/daohang/dianying.html" data-jump="http://www.360kan.com/dianying/index.html" data-nordr="yes">最新电影</a>
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/brother.html#!game" target="_top" data-page="http://xiaoyouxi.360.cn/topbar.html" data-jump="http://xiaoyouxi.360.cn" data-nordr="yes">小 游 戏</a>
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/brother.html#!novel" target="_top" data-page="http://www.jingyu.com/index/indexIframe" data-jump="http://xiaoshuo.360.cn/" data-nordr="yes">小说大全</a>
                <a class="tab-item" hidefocus="false" href="http://hao.360.cn/brother.html#!travel" target="_top" data-page="http://go.360.cn/holiday/subject" data-jump="http://go.360.cn/" data-nordr="yes">旅游度假</a>
            </ul>
        </div>
    </body>
</html>

结果:

技术图片

 

Html学习之十三(导航栏的制作)

标签:ida   ati   inter   sid   url   time   ref   focus   最新   

原文地址:https://www.cnblogs.com/lsm-boke/p/10629800.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!