继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

怎么过滤span标签,能否进行解答

qq_92先生_03626492
关注TA
已关注
手记 1
粉丝 3
获赞 0

根据以下代码片段,补充代码实现轮播图效果;
<div id="carousel-example-generic" class="carousel slide">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>

<div class="carousel-inner" role="listbox">
<div class="【D】">
<img src="../img/1.jpg" alt="...">
<div class="carousel-caption">
</div>
</div>

<div class="【A】">
  <img src="../img/2.jpg" alt="...">
  <div class="carousel-caption">
  </div>
</div>

<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a></div>

A: item
B: carousel-indicators
C: carousel slide
D: item active
E: carousel-inner
F: carousel-control

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP