nav-pills链接问题。没有链接到其他页面

时间:2017-01-08 15:19:44

标签: php html css twitter-bootstrap nav-pills

我的导航丸存在问题 问题是: nav-pill没有链接到其他页面 当我点击它时,它应该转到那个页面,但那件事没有发生。

<ul class="nav nav-pills" data-toggle="collapse" id="head-menu">
    <li><a href="admissions.php">APPLY</a></li>
    <li ><a   href="#">FACULTY</a></li>
    <li ><a href="#">STUDENT</a></li>
    <li ><a   href="#">OFFICES</a></li>
    <li ><a  href="">ALUMNI</a></li>
  </ul>

我试过也试着回应,但没有为我工作。

头部

<!DOCTYPE html>
<html>
<head>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="footer, contact, form, icons" />

    <link href="https://fonts.googleapis.com/css?family=News+Cycle" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="stylesheet/style.css">
    <link rel="stylesheet" type="text/css" href="stylesheet/slider.css">
    <link rel="stylesheet" href="footer/footer-distributed-with-address-and-phones.css" type="text/css">
    <link href = "bootstrap/css/bootstrap.min.css" rel = "stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link href="http://fonts.googleapis.com/css?family=Cookie" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">




    </head>

1 个答案:

答案 0 :(得分:-1)

<li><a href="/admissions.php">file in same folder</a></li>
<li><a href="/folder/admissions.php">file in folder</a></li>
<li><a href="../admissions.php">file in parent folder</a></li>
<li><a href="../folder/admissions.php">browse to other folders</a></li>
<li><a href="http://www.example.com">Absolute path</a></li>