我已经从 bootstrap 复制并粘贴了示例代码。我已经包含了引导 CSS 和 JS 文件和 jQuery 库。基础 CSS - 引导程序
由于某种原因,标签和输入字段显示为内联。有人可以看看我做错了什么吗?
<form class="form-horizontal">
<div class="control-group">
<label class="control-label" for="inputEmail">Email</label>
<div class="controls">
<input type="text" id="inputEmail" placeholder="Email">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPassword">Password</label>
<div class="controls">
<input type="password" id="inputPassword" placeholder="Password">
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn">Sign in</button>
</div>
</div>
</form>