Bootstrap style Jumbotron,row, instance application of table

Source: Internet
Author: User

Before just about the preview of the following bootstrap related elements, plug-ins and other uses. The next step is to enhance the understanding of bootstrap through an example walkthrough. Examples from http://www.runoob.com/interested can go up to study with W3cschool on the same. In order to deepen your understanding, we decided to test it locally with Google Chrome and then write it here. Deepen your impressions.

First: First, the definition of the Basic page label. The use of HTML5 is as follows :

<! DOCTYPE html>

<title>bootstrap examples <title>

<meta charset= "Utf-8" >

<meta name= "viewport" content= "width=device-width,initial-scale=1" >

<link href= "Css/bootstrap.min.css" rel= "stylesheet" type= "Text/css"/>

<script src= "Script/jquery.min.js" type= "Text/javascript" > </script>

<script src= "Script/boostrap.min.js" type= "Text/javascript"/></script>

<body>

</body>

Second: We will write the code for class= "Jumbotron" in <body></body>:

<div class= "Container" >

<div class= "Jumbotron" >

<p> Reset window size to see responsive effects! </p>

</div>

</div>

Third: A row of three columns of div layout code:

<div class= "Container" >

<div class= "Row" >

<div class= "Col-sm-4" >

<div class= "col-sm-4" >

<div class= "Col-sm-4" >

</div>

</div>

Four: The basic rendering of the table (responsive table, border, line color switch):

<div class= "Container" >

<div class= "Table-responsive" >

<div class= "Table table-striped table-bordered" >

<caption> I am the title of the table </caption>

<thead>

<tr>

<th> Serial Number </th>

<th> Mobile </th>

<th> Banking </th>

</tr>

</thead>

<tbody>

<tr>

<td>1</td>

<td> Xiaomi </td>

<td> stocks </td>

</tr>

</tbody>

<tfoot>

<tr>

<td>num</td>

<td>phone</td>

<td>money</td>

</tr>

<tfoot>

</div>

</div>

</div>

Broadly as follows:

Bootstrap style Jumbotron,row, instance application of table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.