怎么在导航栏上的超链接中加入子超链接,望大神帮帮忙,谢谢!!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>无标题文档</title>

<link rel="stylesheet" type="text/css" href="不能.css">

</head>


<body

<div id="q">

    <ul>

                      <li class="logo"><a href=""#>月小</a></li>

                      <li><a href=""#>效小</a></li>

      <li>    

                    <ul>

                                      <li>这是</li>

                                      <li>分股</li>

                                      <li>发货</li>

                    </ul>

<a href=""#>噗小</a></li>

     

    </ul>

</div>

</body>

</html>



@charset "utf-8";

/* CSS Document */

#q ul{list-style:none;

    margin:0;

padding:0;

background:#999;}

ul li{display:inline-block;

   line-height:50px;

   float:right;

   margin-right:20px;

    }

ul li a{line-height:50px;

       text-decoration:none;

  display:inline-block;

  height:inherit;

  font-size:25px;}


#q ul li.logo{float:left;}


王凯170050117
浏览 1961回答 3
3回答

言曌博客liuyanzhao_com

二级菜单吗?你去看看 layui 或者 bootstrap 看看
打开App,查看更多内容
随时随地看视频慕课网APP