bootstrap期末整理

2021-03-02 people on way

1.Which is true about Bootstrap?

A. Bootstrap is the most popular and powerful front-end (HTML, CSS, and JavaScript) framework for faster and easier responsive web development.

B. Bootstrap is a powerful front-end framework for faster and easier web development

C. It includes HTML and CSS based design templates for creating common user interface components like forms, buttons, navigations, dropdowns and so on.

D. All of them

2.Which is not a feature of Bootstrap?

A. Mobile first approach

B. Browser support

C. Easy to get started

D. Irresponsive design

3.What is not true about responsive design?

A. Bootstrap's responsive CSS adjusts to Desktops, Tablets and Mobiles

B. The end user need not worry about the device being used to access the web site

C. The end user continues to get the different experience across.

D. All of them

4.The following files do not belong to the bootstrap template?

A. jquery.js

B. bootstrap.min.js

C. bootstrap.min.css

D. bootstrap.java

5.In the statement <meta name="viewport" content="width-device-width, initial-scale=1">

A- The width-device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device).

B- The initial-scale=1 part sets the initial zoom level when the page is first loaded by the browser

A. Both are true

B. Both are false

C. A is false

D. B is false

6.A- The .container class provides a responsive full width container

B-The.container-fluid class provides a fixed width container, spanning the entire width of the viewport)

A. Both are true

B. Both are false

C. A is true

D. B is true

7.Which is/ are the correct rule of Bootstrap grid system?

A. Rows must be placed within the .container class in order to get proper alignment and padding(padding).

B. Use rows to create horizontal groups of columns.

C. The content should be placed within a column, and only the column can be a direct child ele ment of a row

D. All of them

8.Which example will result in a 25%/75% split on small devices and a 50%/50% split on medium (and large) devices?

9.Which class is used to increase the left margin of a column to the column?

A. Col-md-*

B. Col-md-offset-*

C. Col-md-push-*

D. Col- md-pull-*

10.Which elements defines the style of the element as a dashed border that appears at the bottom of the text, and displays the full text when th e mouse hovers over it?

A. <Emphasize>

B. <abbr>

C. <lead>

D. <abbreviation>

11.Which is not a list style in bootstrap?

A. List-unstyled

B. List-inlined

C. List-ordered

D. DI-horizontal

12.Which class is used for for tablets - screens equal to or greater than 768px wide?

A. Col-sm

B. Col-md

C. Col-lg

D. Col-xs

13.Which class is used to set text alignment and wrap text in a paragraph that is out of part of the screen?

A. Text-inline

B. Text-justify

C. Text-nowrap

D. Text-overcase

14.Which class is used add stripes in the form of zebra lines in BS tables?()

A. Table-bordered

B. Table-hover

C. Table-striped

D. Table-responsive

15.Which class is used to apply a hover color to a particular row or cell?

A. Active  B. Danger  C. Info   D. Warning

16.Which is not type of form layout in BS?

A. Vertical form  B. Horizontal form  C. Inline form D. Diagonal form

17.Which class is used of optimum spacing on webpage?

A. Form-inline

B. Form -horizontal

C. Form-group

D. Form-control

18.With which form type, we need to use class "form-group" ?

A. Vertical form  B. Horizontal form  C. Inline form  D. All of them

19.Which type of input is accepted in input box?

A. Color  B. Search  C. Password  D. All of them

20.Which is not a correct class for Background in BS?

A. Bg-danger  B. Bq-success  C. Bg-black   D. Bg-primary

21.In which type of form, we need to Add class .control-label to all <label> elements?

A. Inline form

B. Horizontal form

C. Vertical form

D. All of them

22.A- The .input-group class is a container to enhance an input by adding an icon, text or a button in front or behind it as a "help text".

B-The .input-group-addon class attaches an icon or help text next to the input field.

A. Both are true.

B. Both are false.

C. A is false

D.B is false

23.Which attribute is used to prevent user input to an input?

A. Disabled  B. Inactive  C. Readonly  D. None of them

24.Which is not a class to set the size of a button?

A. Btn-lg

B. Btn-md

C. Btn-sm

D. Btn-xs

25.Which of the following CSS classes scan set the picture fillet?

A. img-rounded

B. img-circle

C. img-thumbnail

D. img-responsive

26.Which of the following bootstrap style of button creates a default/ standard button?

A.btn

B.btn-primary

C.btn-success

D.btn-info

27.Which creates a block-level button that spans the full width of the parent element?

A. Btn-xs.  B. Btn-lg  C. Btn-block   D. Btn-md

28.Which one of them is not a validation style class?

A. Has-error  B. Has-success C. Has-warning  D. Has-feedback

29.Which of the following bootstrap style of button creates a default/ standard table?

A .table

B .table-striped

C. table-bordered

D .table-hover

30.Which tag is used to add a description or summary of the contents of the table's storage?

A. <thead> B.<tbody> C.<caption> D.< str>

31.Which tag is used to set text to italics?

A. <strong>  B. <small>  C. <em>D. <None of them>

32.The .container-fluid class provides ().

A. Table format

B. To create a form

C. Full width container

D. Fixed width container

33.Bootstrap' s grid allows up to

A. 6 columns across the page

B. 12 columns across the page

C. 3 columns across the page

D. 1 column across the page

34.Which is the default form in Bootstrap?

A. Horizontal form  B. Vertical form   C. Inline form  D. None of them

35.input-lg provides ()

A. To make width size.

B. To make height sizeo

C. To make width and height size

D. To make character entry size

36.In the initial-scale=1 part sets

A. To make zoom in mobile only

B. To make zoom in desktop only

C. Initial zoom level when the page is first loaded by browser

D. None of them

37.Which class is used to create a button as a link in bootstrap?()

A.btn-hyperlink

B.btn-link (correct)

C.btn-url

D.btn-anchor

38.Which of the following class makes circle image?

A.img-circle-corner  B. img-crl   C. img-circle  D. .img-rounded

39.Change the order of the grid columns with

A.col-md-front-* and .col-md-back-*

B.col-md-riaht-* and .col-md-left-*

C.col-.md-push-* and .col-md-pull-*

D. None of them

40.Which class is used to the inner padding of the row is cut in half to make the table look more Compact?A..table-responsive

B. table-condensed

C.table-compact

D. None of them

題:

1.Which of the following button group classes can be applied to the resizing of a button group without having to resize each button?

a.btn-group

b.btn-toolbar

c.btn-group-lg

d.btn-group-vertical

2.Which of the following CSS classes is used to create a encapsulated navigation menu?

a.nav-tabs

b.nav-pills

c.nav-stacked

d.nav-justified

3.Which of the following CSS classes is used to display pagination on a page?

a.pagination

b.active

c.pagination-lg

d.pagination-sm

4.Which of the following is not provided by Bootstrap for warning?

a.alert-success

b.alert-info

c.alert-warning

d.alert-good

5.Which of the following does not belong to the class Bootstrap provides for the progress bar?

a. progress

b.progress-bar

c. progress-bar-success

d. progress-bar-faile

6.Which of the following is not an advantage of Bootstrap

A. Mobile devices are preferred.

B. Browser support

C. Responsive design

D. use javascript

7.What is wrong with the following description of the Bootstrap package?

A. Bootstrap provides a basic structure with a grid system, link style, and background

B. Bootstrap contains more than a dozen reusable components for creating images, drop-down menus, navigation, warning boxes, pop-up boxes, and more

C. Bootstrap does not include jQuery plug-ins

D. Bootstrap comes with the following features: global CSS Settings, defining basic HTML element styles, and extensible classes

8. Which of the following is not a compiled version of Bootstrap?

A. Compiled CSS and Js (bootstrap.*)

B. Compiled and compressed CSS and Js (bootstrap.min.*)

C. The font from Glyphicons

D.Jquery source

9.What is the following incorrect description of the Bootstrap source code?

A. dist/folder contains uncompiled code

B. less /, is/ and fonts/ Files source code for Bootstrap CSS, Js, and icon fonts respectively

C.dist/folder contains precompiled code

D. docs-assets /, examples/ and all *.html files are Bootstrap documents

10.The following files are not bootstrap templates?

a. jquery.js

b. bootstrap.min.js.

c.bootstrap.min.css

d. bootstrap.java

11.What is wrong about how the Bootstrap Grid System works?

A. The row must be placed inside the. Container class

B. Use rows to create horizontal groups of columns

C. Create space between column contents using padding

D. A grid system is created by specifying twelve vertical columns that are available

12.Which of the following CSS classes enables mouse hover on any line within <tbody>?

a.table-striped

b.table-bordered

c.table-hover

d.table-condensed

13.Which of the following CSS classes represents a button operation for a dangerous action?

a.btn-danger

b.btn-warning

c.btn-info

d.btn-success

14.Which of the following CSS classes can set the rounded corners of an image?

a.img-rounded

b.img-circle

c.img-thumbnail

d.img-responsive

15.Which of the following is not part of the bootstrap form?

A. Vertical form (default)

B. Inline forms

C. Horizontal form

D. Circular forms

網上找題

單選

1, Bootstrap插件全部依賴是( )

A. JavaScript

B. JQuery

C. Angular JS

D. Node JS

2·柵格系統小屏幕使用的類前綴是( )

A.col-xs

B.col-sm

C.col-md

D.col-lg

3,如下代碼中,想要在超小屏幕和小屏幕顯示兩列,在中屏幕和大屏幕顯示三列,三個div的class正確的寫法是( )

<div>

<div>item1</div>

<div> item2</div>

<div> item3</div>

/div>

A. col-sm-6 col-md-4 col-sm-6 col-md-4 col-sm-6 col-md-4

B. col-sm-6 col-lg-4 col-sm-6 col-lg-4 col-sm-6 col-lg-4

C. col-xs-6 col-lg-4 col-xs-6 col-lg-4 col-xs-6 col-lg-4

D. col-xs-6 col-md-4 col-xs-6 col-md-4 col-xs-6 col-md-4

4·下面可以實現列偏移的類是( )

A.col-md-offset-*

B.col-md-push

C.col-md-pull-*

D.col-md-move-*

5.表單元素要加上什麼類,才能給表單添加圓角屬性,和陰影效果()

A. form-group

B. form-horizontal

C. form-inline

D. form-control

6.img-responsive類可以讓圖片支持響應式布局,它的實現原理是( )

A.設置了max-width: 100%和height: auto;

B.設置了max-width: 100%;和height: 100%;

C.設置了width: auto;和max-height: 100%;

D.設置了width: auto;和height: auto;

7.輸入框組想加上圖標,可以實現對表單控制項的擴展的類是( )

A. .input-group-btn

B. .input-group-addon

C. form-control

D. input-group-extra

8.標籤頁垂直方向堆疊排列,需要添加的類()

A. nav-vertical

B. nav-tabs

C. nav-pills

D. nav-stacked

9.可以把導航固定在頂部的類是()

A. navbar-fixed-top

B. navbar-fixed-bottom

C. navbar-static-top

D. navbar-inverse

10.導航條在小屏幕會被摺疊,實現顯示和摺疊功能的按鈕需要加什麼()

A.摺疊按鈕加data-toggle=, collapsed' ,摺疊容器需要加collapsed類

B.摺疊按鈕加data-toggle=' collapse',摺疊容器需要加collapse類

C.摺疊按鈕加data-toggle=, scrolll, ,摺疊容器需要加collapse類

D.摺疊按鈕加data-spy='scroll' ,摺疊容器需要加collapse類

11.實現nav平鋪整行,應該加哪個類()

A. nav-center

B. nav-justified

C. nav-left

D. nav-right

12.模態框提供了哪些尺寸()

A. modal-xs modal-sm modal-md modal-lg

B. modal-sm modal-md modal-lg

C. modal-xs modal-sm

D. modal-sm modal-lg

13.如果你不需要模態框彈出時的動畫效果(淡入淡出效果)怎樣實現( )

A.刪掉fade類即可

B.添加刪掉fade類即可

C.去掉.active類即可

D.去掉.in類即可

14,怎樣實現滾動監聽事件()

A.添加data-toggle= "scroll"

B.添加data-target=' scroll'

C.添加data-spy=, scroll'

D.添加data-dismiss=" scroll"

15.關閉modal的按鈕應該加什麼屬性()

A. data-dismiss=' modal'

B.data-toggle=' modal'

C. data-spy=' modal'

D. data-hide='true'

16,.下列不屬於panel的三要素是()

A. panel-heading

B. panel-body

C. panel-footer

D. panel-content

17·用JavaScript怎樣讓輪播圖從第二個圖片開始播放()

A. $('.carousel').carousel()

B. S('.carousel').carousel(0)

C. $('.carousel").carousel(1)

D.$('.carousel').carousel(2)

18.使用collapse實現手風琴,通過哪個屬性關聯整個面板組()

A. data-parent

B. data-toggle

C. data-target

D. href

19.如何讓輪播圖在頁面切換時有動畫( )

A.添加in類

B.添加fade類

c.添加active類

D.添加slide類

20·關於輪播圖說法正確的是()

A.輪播圖的頁面切換索引從1開始

B.下一頁實現方式data-slide-to= "prev"

C.可以使用carousel-caption類為圖片添加描述

D.上一頁實現方式data-slide-to= "-1"

21.對於tooltip的元素, data-placement的作用是()

A.工具提示條的顯示大小

B.工具提示條的顯示位置

C.工具提示條的顯示動畫

D.工具提示條的顯示顏色

22.彈出框元素: <button type="button" data-toggle="popover" id=" mypopover"title="this is my Popove element" data-animation'=truedata-content-"And some amazing content."點我彈出/隱藏弘出框</button>,對於title和data-content屬性的作用,錯誤的是()

A. title可以不支持html標籤

B. title是彈出框的標題

C. data-content是彈出框的內容

D. data-content可以支持html標籤

23.滾動監聽哪個屬性可以設置滾動條距離頂端的位置距離( )

A. data-offsetY

B. data-offset

C.data-spy

D. data-dismiss

24.標籤頁加了fade給每個tab-pane使切換標籤頁時有動畫,那麼怎樣讓第一個默認顯示出來()

A.添加類active

B.添加類show

C.添加類in

D.添加類fadeln

25.怎樣養tooltips通過點擊事件彈出( )

A. data-placement=" click"

B. data-delay=" click"

C. data-title="click"

D.data-trigger=" click"

26.怎樣修改輪播圖的頁面切換的時間間隔?

A.data-interval

B.data-pause

C.data- wrap

D.data-time

27.下列說法正確的是( )

A. button組件能同時支持工具提示和控制模態框

B.不要在同一個元素上同時使用多個插件的data屬性

C.使用bootstrap插件不需要引用jQuery

D. bootstrap插件不可以單個引入

28.怎樣只關閉警告框的data-API ( )

A. $(document).off('.data-api')

B.$(document).off('.alert-data-api')

C. $(document).off('.data-api.alert')

D.$(document).off('.alert.data-api)

29.於分頁組件說法錯誤的是()

A.使用類pagination來實現

B.pagination-lg..pagination-sm類提供了額外可供選擇的尺寸

C.disabled類不可用於翻頁中的連結

D. previous類和類next可以表示上一頁、下一頁

30.下列哪個類起徽章的作用()

A.page-header

B. jumbotron

C. badge

D. thumbnail

31·怎樣為進度條創建條紋效果( )

A.添加類progress-bar-striped

B.添加類progress-bar

C.添加類progress-striped

D.添加類progressBar-striped"

32.製作tab切換,要顯示的內容要放在下方哪個容器裡面

A. content B. tab-group C. tab-body D. tab-content

多選

1.關於bootstrap的布局容器說法正確的有()

A.container類用於固定寬度並支持響應式布局的容器

B.container-fluid類用於100%寬度,佔據全部視口(viewport)的容器

C.container和.container-fluid可以互相嵌套

D.布局容器僅提供了.container和.container-fluid兩種容器

2.如果想要繪製帶邊框的條紋狀的表格需要添加的類有( )

A. table-condensed B. table-hover C. table-bordered D. table-striped

3.下列關於柵格系統說法正確的有( )

A.柵格系統每一行不能少於12列

B.通過「行(row) "在水平方向創建一組「列(column)

C.行(row )"必須包含在.container (固定寬度)或.container-fluid(100%寬度)中,以便為其賦予合適的排列(aligment)和內補padding)

D.如果一「行(row) "中包含了的「列(column) "大於12,多餘的「列(column) "所在的元素將被作為一個整體另起一行排列

4.下列哪些是輔助類 ()

A.text-muted B.text-primary C.text-info D.text-danger

相關焦點

  • Stata:Bootstrap 簡介
    如果 bootstrap DGP 在某種意義上接近真實的 DGP,那麼由 bootstrap DGP 生成的數據將與真實 DGP 生成的數據相似(如果已知的話)。如果是這樣,則進行模擬使用 bootstrap DGP 獲得的 P 值與真實 P 值足夠接近,可以進行準確的推理。
  • Spring Boot 配置文件 bootstrap / application 到底有什麼區別?
    bootstrap/ application 的區別特意去翻了下 Spring Boot 的官方文檔,沒有找到關於這兩種文件的具體定義,然後再翻了下 Spring Cloud 的官方文檔找到了它們的區別。
  • bootstrap響應式布局
    -- Bootstrap3 核心 CSS 文件 --》   《link rel=「stylesheet」 href=「${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css」》   把JS文件放在《BODY》的最後,加快頁面顯示:   《!
  • 解讀bootstrap v4 sass設計
    其次本篇文章主要圍繞下面幾個目標展開:了解bootstrap 4整個sass的設計如何使用並修改bootstrap v4的樣式如何改進bootstrap的sass設計最後不深入具體代碼的實現細節,只從整體架構上分析一起走進bootstrap v4 sass1、bootstrap的sass文件都放在scss目錄,為什麼名字是
  • 前端插件之Bootstrap Dual Listbox使用
    Dashboard的後端工程師、亦或是像我這樣半吊子的開發加運維,那麼這個系列的文章你一定不要錯過Bootstrap Dual Listbox是一款基於Bootstrap的雙向select選擇框控制項,作為對multiple select的擴展,使用起來非常簡單,功能也更強大項目Github地址:https://github.com/istvan-ujjmeszaros/bootstrap-duallistbox
  • DWZ + Bootstrap 整合應用(dwz for bootstrap v1.0.0)
    源碼下載地址:http://git.oschina.net/dwzteam/dwz_bootstrapbootstrap + dwz 表單驗證,ajax表單提交,在文件上傳的表單異步提交,錯誤提示表單如果很長,有錯誤提示時,會自動滾動到頁面頭部,方便看出錯信息使用的時候只要在form上加一個class="required-validate
  • bootstrap css精簡專題及常見問題 - CSDN
    bootstrap中文網:http://v3.bootcss.com/ bootstrap提供了三種類型的下載:   1、用於生產環境的bootstrap    編譯並壓縮後的CSS、JavaScript和字體文件。不包含文檔和源碼文件。
  • 推薦10 款基於 Bootstrap 框架的擴展
    4.5. android-bootstrapandroid-bootstrap 是一個模板/引導/樣板文件的應用程式,包括大量的優秀的開放源碼工具和框架9.10. bootstrap-wysihtml5bootstrap-wysihtml5 是一個基於 Bootstrap 框架實現的所見即所得的 HTML 編輯器。
  • 入門bootstrap,簡潔清新的前端框架
    最近 寫項目用到bootstrap確實使用起來很方便,而且風格簡潔,很適合自己做項目時用來當作前端框架。下面是bootstrap介紹:2011年,twitter的「一小撮」工程師為了提高他們內部的分析和管理能力,用業餘時間為他們的產品構建了一套易用、優雅、靈活、可擴展的前端工具集--BootStrap。
  • Bootstrap項目實訓乾貨:設計簡單登錄框
    頁面如下:二、實驗環境此登錄框採用bootstrap框架來實現,依賴的版本為3.3.7。我們可以直接引用cdn的資源,資源地址如下:<link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">< src="//cdn.bootcss.com
  • The Best BootStrap Resources - 程序人生 提供數據深度挖掘服務
    為了能幫助大家更好的學習和使用Bootstrap這個優秀框架,我今天整理了一份我收藏的相關資源,這篇文章可以說是學習BootStrap的一個最好最全的資源,其中包含了八個BootStrap代碼生成器、九個BootStrap工具、四個優秀的BootStrap主題、十一個BootStrap自帶的JavaScript庫和11篇優秀的BootStrap教程。希望這些資源大家會喜歡。
  • swagger-bootstrap-ui 應用擴展程序 1.0.0 發布
    隨著swagger-bootstrap-ui已經歷時兩年多,發布了26個版本,目前也得到的很多Java
  • Twitter BootStrap:前端框架利器
    這 裡有兩個關鍵點,其中「bootstrap.css」是Bootstrap中的基本樣式文件,只要使用Bootstrap就必須調用這個文件。而 「bootstrap-responsive.css」則可以根據你的愛好來選擇,如果想讓項目具有響應式布局的效果,就必須要調用這個樣式文件,而且調 用必須遵循先後順序,「bootstrap-responsive.css」必須放置在「bootstrap.css」之後,否則便不具有響應式布局功 能。
  • 前端框架bootstrap和layui有什麼區別
    bootstrap 在前端響應式方面做得很好,PC端和移動端表現都不錯, 很適合做響應式網站,同時滿足PC端和移動端效果,雖然很多公司前端都會有自己的一套框架,但是據我所看的很多大型公司的前端頁面的css文件,大凡響應式框架都是借鑑了bootstrap的思想。
  • bootstrap+masonry+imagesloaded是圖片上下對齊瀑布流布局
    01bootstrap+masonry+imagesloaded實現方法bootstrap本身不需要任何插件就能實現瀑布流布局,但是很難達到想要的效果,這裡使用bootstrap來實現頁面的響應式布局,利用masonry.js來實現流式控制,由於圖片加載延遲的影響,必須引入imagesloaded.js來確保每一張圖片都加載完成。
  • Web-第五天 BootStrap學習
    /lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"><script src="../lib/jquery/jquery-1.11.0.js"></script><script src="..
  • bootstrap容器container響應式布局,各種使用方法詳解
    container是bootstrap頂層布局容器,這是一個必須使用的標籤,在每一個頁面上都會用到,是實現響應式布局的核心組成部分,在bootstrap4.4和老舊版本上有著細微的差異,在4.4.1版本中進行了升級,使得container標籤更加靈活方便。
  • bootstrap 用什麼布局專題及常見問題 - CSDN
    bootstrap學習之布局(柵格布局)今天自己在網上學習了BOOTSTRAP柵格系統,很有體會,希望將自己的學習心得寫寫下來供自己日後參考學習1.什麼是柵格布局?
  • 自助法(bootstrap)在統計檢驗中的應用及R語言實現過程
    Bootstrap在統計檢驗中的應用接下來概述bootstrap的基本原理,比較其與常規統計方法的區別以說明何時使用bootstrap是更合適的,以及通過一個示例展示估計置信區間的過程。與此相比,bootstrap不對數據的分布做任何假設。對於bootstrap估計抽樣分布的方法,將一項研究獲得的樣本數據進行多次重抽樣,創建多個模擬樣本集,該方法中不考慮原數據集的固有分布特徵,以及特定的前提假設等。
  • swagger-bootstrap-ui 1.9.5 發布,支持過濾請求參數
    swagger-bootstrap-ui 1.9.5 發布了。