gpt4 book ai didi

html - Bootstrap 不会显示按钮

转载 作者:行者123 更新时间:2023-11-28 03:24:44 26 4
gpt4 key购买 nike

今天开始学习Bootstrap,想请教几个问题。

我一直在尝试让这个代码显示按钮,只是它没有相应的响应。因为它没有清楚地显示按钮。

代码如下所示。

<?php include 'header.php'
?>

<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">WebSiteName</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Page 1</a></li>
<li><a href="#">Page 2</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
</ul>
</div>
</nav>

<div class="col-md-12" >
<div class ="page-header">
<h1>This is a Test header</h1>
</div>
</div>

<div class ="col-md-12">
<form name="samris" id="samris" method="post" action="hamish.php"/>
<table class ='table table-hover table-responsive table-bordered'>

<div class ="form-group">
<label for "firstname"> First Name :</label>
<input type="text" class="form-control" id="firstname" />
</div>

<div class ="form-group">
<label for "firstname"> Last Name :</label>
<input type="text" class="form-control" id="firstname" />
</div>

<div class ="form-group">
<select class="form-control"id="" name="">
<option>Please Select</option>
<option>List 1</option>
<option>List 1</option>
<option>List 1</option>
</div>


</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
</div>

</body>
</html>

最佳答案

您忘记关闭您的 <select>字段。

关于html - Bootstrap 不会显示按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45038709/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com