Javascript&CSS-Bootstrap A Front-End Framework
Javascript&CSS-Bootstrap A Front-End Framework
A front-end framework
Bootstrap Typography provides styling and formatting of text contents like headings, paragraphs etc.
Classes for headings: Similar to <h1> to <h6> tags, we have classes like .h1 to .h6
Classes for secondary text of any heading: Similar to <small> , we have class called .small
Classes for text alignment: text-left, text-center, text-right,text-justify, text-nowrap
Classes for text transformation: text-lowercase, text-uppercase, text-capitalize.
Classes:
.table : for basic table with horizontal dividers
.table-bordered (used with .table class) : for a table border
.table-striped (used with .table class) : for a zebra striped table
.active, .info , .success, .warning, .danger etc : for emphasizing the row/cell through appropriate
colouring.
<div class="container">
<table class="table">
<tr><th>Empid</th><th>EmpName</th></tr>
<tr><td>1001</td><td>Steve</td></tr>
<tr><td>1002</td><td>Roger</td></tr>
<tr><td>1003</td><td>Peter</td></tr>
<tr><td>1004</td><td>Alex</td></tr>
</table>
</div>
Styling images and placing them properly on the pages enhances the look and feel of the web pages
You can use the bootstrap icons along with the <span> tag with the base class “glyphicon” and
individual icon class glyphicon-*
Example :
.btn-xs
Sensitivity: Internal & Restricted © 2017 Wipro wipro.com confidential 15
Quiz
1. Which of the following is used to add images to text,buttons etc?
a. icons
b. glyphicons
c. emoticons
d. None of the above
2. Which of the following bootstrap class should we use to display an image in a circular format?
a. img-rounded
b. img-circle
c. img-thumbnail
d. None of the above