Bootstrap Main Page Template

Posted onby admin

W3Schools' Bootstrap Templates. We have used Bootstrap's grid system to create some responsive HTML templates. They are completely free - Click on 'Try. Bootstrap Landing Page Themes. Free Bootstrap themes that are ready to customize and publish. All of our themes are built with Bootstrap 4, MIT licensed, and updated regularly! K7 – Multipurpose HTML Template is a creative and unique desing with clean code based on most popular framework Bootstrap 4 Beta. It is suitable for Creative, Corporate, Consulting, Business, Mobile App, Software, Wedding, Events, Freelancers Portfolios, Single Product etc. K7 is professional and easy to use template with lost of features like 30+ Main. Appton is a truly variable landing page created in Bootstrap 4. The template comes with 6 colour variants to choose from. It also uses great SVG illustrations from Undraw and comes with a custom icon font. Page templates included: Frontpage, FAQs, Text page and contact page with a styled Google Map.

Related Content
  • 15 Best Free Bootstrap UI Kits in 2019 to Simplify Your Design

    Bootstrap UI Kit is one of the most popular design frameworks for web development and responsive design today. It makes prototyping and web design much easier.The Mockplus team has compiled a batch of...

  • 30 Best Bootstrap 4 Footer Templates in 2020

    A website usually consists of a header, a body, and a footer, and each plays a special role to help visitors. If you want to design a great website, then none of the three aspects should be overlooked...

  • 50 Best Free Bootstrap Form Templates & Examples in 2019

    Bootstrap has gained in popularity and is one of the most practical front-end web frameworks. Developers and designers are sharing free bootstrap forms to help each other save time when building a web...

What is Bootstrap?

  • Bootstrap is a free front-end framework for faster and easier web development
  • Bootstrap includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels and many other, as well as optional JavaScript plugins
  • Bootstrap also gives you the ability to easily create responsive designs

What is Responsive Web Design?
Responsive web design is about creating web sites which automatically adjust themselves to look good on all devices, from small phones to large desktops.

Bootstrap Example

<div>
<h1>My First Bootstrap Page</h1>
<p>Resize this responsive page to see the effect!</p>
</div>
<div>
<div>
<div>
<h3>Column 1</h3>
<p>Lorem ipsum dolor..</p>
</div>
<div>
<h3>Column 2</h3>
<p>Lorem ipsum dolor..</p>
</div>
<div>
<h3>Column 3</h3>
<p>Lorem ipsum dolor..</p>
</div>
</div>
</div>
PageTry it Yourself »

Bootstrap History

Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter, and released as an open source product in August 2011 on GitHub.

In June 2014 Bootstrap was the No.1 project on GitHub!

Why Use Bootstrap?

Advantages of Bootstrap:

  • Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap
  • Responsive features: Bootstrap's responsive CSS adjusts to phones, tablets, and desktops
  • Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework
  • Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Edge, Safari, and Opera)

Where to Get Bootstrap?

There are two ways to start using Bootstrap on your own web site.

Template

You can:

  • Download Bootstrap from getbootstrap.com
  • Include Bootstrap from a CDN

Downloading Bootstrap

Bootstrap Main Page Template

If you want to download and host Bootstrap yourself, go to getbootstrap.com, and follow the instructions there.

Bootstrap CDN

If you don't want to download and host Bootstrap yourself, you can include it from a CDN (Content Delivery Network).

MaxCDN provides CDN support for Bootstrap's CSS and JavaScript. You must also include jQuery:

MaxCDN:

<!-- Latest compiled and minified CSS -->
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css'>
<!-- jQuery library -->
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
<!-- Latest compiled JavaScript -->
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js'></script>

One advantage of using the Bootstrap CDN:
Many users already have downloaded Bootstrap from MaxCDN when visiting another site. As a result, it will be loaded from cache when they visit your site, which leads to faster loading time. Also, most CDN's will make sure that once a user requests a file from it, it will be served from the server closest to them, which also leads to faster loading time.

jQuery
Bootstrap uses jQuery for JavaScript plugins (like modals, tooltips, etc). However, if you just use the CSS part of Bootstrap, you don't need jQuery.

Create First Web Page With Bootstrap

1. Add the HTML5 doctype

Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype.

Bootstrap Main Page Template Pdf

Always include the HTML5 doctype at the beginning of the page, along with the lang attribute and the correct character set:

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
</head>
</html>

2. Bootstrap 3 is mobile-first

Bootstrap 3 is designed to be responsive to mobile devices. Mobile-first styles are part of the core framework.

To ensure proper rendering and touch zooming, add the following <meta> tag inside the <head> element:

<meta name='viewport'>

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).

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

3. Containers

Bootstrap also requires a containing element to wrap site contents.

There are two container classes to choose from:

  1. The .container class provides a responsive fixed width container
  2. The .container-fluid class provides a full width container, spanning the entire width of the viewport

Two Basic Bootstrap Pages

The following example shows the code for a basic Bootstrap page (with a responsive fixed width container):

Bootstrap Main Page Template Microsoft

Example

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<meta charset='utf-8'>
<meta name='viewport'>
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css'>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js'></script>
</head>
<body>
<div>
<h1>My First Bootstrap Page</h1>
<p>This is some text.</p>
</div>
</body>
</html>
Try it Yourself »

Bootstrap Main Page Template Download

The following example shows the code for a basic Bootstrap page (with a full width container):

Example

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<meta charset='utf-8'>
<meta name='viewport'>
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css'>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js'></script>
</head>
<body>
<div>
<h1>My First Bootstrap Page</h1>
<p>This is some text.</p>
</div>
</body>
</html>
Try it Yourself »

Bootstrap Welcome Page Template