我的 nav-pill 问题是:当我单击它应该转到该页面时,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>