<div class="jumbotron"> <!-- 第(9)空 --> <h5 class="text-(10)" align="center">Copyright © xxxx 有限公司</h5> <!-- 第(10)空 --> </div>
时间: 2023-10-09 14:06:14 浏览: 66
第(9)空应该是一个文本内容,用于在 Jumbotron 元素中显示页面的主要标题或内容,例如:
```
<h1>欢迎来到我的网站</h1>
```
第(10)空应该填写文本样式,可以是 primary、secondary、success、danger、warning、info、light 或 dark 中的任意一个,用于定义文本的颜色和背景颜色,例如:
```
text-light
```
相关问题
$sql = "INSERT user(username,password,email) VALUES('{$username}','{$password}','{$email}')"; if($mysqli->query($sql)) { $res1 = '成功添加了'.$mysqli->affected_rows.'条记录'; $res2 = '新增的主键id是:'.$mysqli->insert_id; echo "<div class="container"> <div class="jumbotron"> <h2 style='color: #30ff09;'>{$res1}</h2> <p>{$res2}</p> <p><a href='login.html' class="btn btn-primary btn-lg" role="button"> 转到登陆</a> </p> </div> </div>"; } else { echo '添加失败'.$mysqli->errno.': '.$mysqli->error; }
green'>$res1</h2> <h2 style='color: blue'>$res2</h2> </div> </div>";你好!恭喜你成功添加了数据,新增的主键ID是:$mysqli->insert_id。
glyphicon-
glyphicon-是一种用于添加图标的CSS类名的命名规则。通过在元素的class属性中添加glyphicon-*类名,可以将相应的图标添加到元素中。
例如,可以使用类名glyphicon glyphicon-circle-arrow-right来添加一个带有向右箭头的图标。具体的HTML代码可以如下所示:
<div class="glyphicon glyphicon-circle-arrow-right"></div> [2]
在使用这些图标之前,需要确保已经引入了Bootstrap的CSS和JS文件。以下是一个示例的HTML代码,展示了如何在Bootstrap中使用glyphicon图标:
<!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" />
<link rel="stylesheet" href="dist/css/bootstrap.css" >
<script src="dist/js/bootstrap.js"></script>
<title>无标题文档</title>
</head>
<body style="margin:100px;">
<div class="jumbotron">
<h1 class="glyphicon glyphicon-circle-arrow-right">这个是glyphicon</h1>
<p>这个大框是jumbotron</p>
</div>
</body>
</html>
通过以上代码,可以在一个Jumbotron大框中添加一个带有向右箭头的glyphicon图标。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [bootstrap3的jumbotron和glyphicon glyphicon-*的用法](https://blog.csdn.net/ling811/article/details/16904705)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)