下列选项中用于选项卡面板的样式是()
A: tab-content
B: tab-pane
C: nav-tabs
D: nav-pills
A: tab-content
B: tab-pane
C: nav-tabs
D: nav-pills
举一反三
- 在CSS中有一个名为nav的类,下列选项中可以将该类样式应用到id为nav_header的标签上() A: $("#nav_header").css(’nav’) B: $("#nav_header").class(’nav’) C: $("#nav_header").addClass(’nav’) D: $("#nav_header").cssName=’nav’
- 使用Bootstrap制作胶囊标签页时,需要哪个类与.nav类搭配使用是( ) A: .nav-tabs 类 B: .nav-pills 类 C: .navbar-header类 D: .navbar-brand类
- 下面关于选项卡插件的说法不正确的是() A: 选项卡由两部分组成,CSS选项卡组件和底部可以切换的选项卡面板。 B: Tab-pane要放在tab-content里面,要有id且值必须和data-target的值或href的值相同。 C: 导航链接里要设置data-toggle=”tab”并且还要设置data-target或是hrer=”选择符”以便单击的时候能找到该选择符所对应的tab-pane面板。 D: 选项卡不支持胶囊式的选项卡导航。
- 下列选项中,用于定义当前页面的标签是()。 A: aside B: section C: nav D: article
- 下列关于导航的说法错误的是() A: Bootstrap中导航组件都依赖一个.nav类。.nav是导航的基础样式,主要设置布局方式、块级显示以及padding\active\disabled状态下的颜色等基础设置。所以,通常不必在网页中使用该样式。 B: 选项卡导航使用.nav-tabs类。 C: 胶囊式导航使用.nav-pills类。 D: 二级导航是把普通导航里面的li元素作为父元素容器,让其内部包含Dropdown下拉菜单。