MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Bootstrap Tutorial

What is Bootstrap?

Bootstrap is a open-source framework for building websites and web applications. That means the bootstrap is fully responsive framework and support any devices which contains HTML, CSS and JavaScript. With the help of bootstrap we can create a forms, buttons,navigation and other interface components.

Why Use Bootstrap?

  • Advantages of using bootstrap
  • Supports responsible design
  • Saves lot of development time
  • Consistency
  • Customization
  • Support

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

You can:

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

How to download and setup

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

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.

What is Container and container-fluid

  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

Container Example:

<div class=”container”>
  <h1>My First Bootstrap Page</h1>
  <p>This is some text.</p>
</div>

Container Fluid Example:

<div class=”container-fluid”>
  <h1>My First Bootstrap Page</h1>
  <p>This is some text.</p>
</div>

Bootstrap 4 Grid System

Bootstrap’s grid system is built with flexbox and allows up to 12 columns across the page.

If you do not want to use all 12 columns individually, you can group the columns together to create wider columns.

Example

Three equal width columns

Responsive Columns

Two Unequal Responsive Columns

Bootstrap 4 Text/Typography

Bootstrap Heading

Bootstrap 4 styles HTML headings (h1 to h6) with a bolder font-weight and an increased font-size.

Display Headings

Display headings are used to stand out more than normal headings (larger font-size and lighter font-weight), and there are four classes to choose from: .display-1, .display-2, .display-3, .display-4.

Small heading

The small element is used to create a lighter, secondary text in any heading.

<Mark>

Bootstrap 4 will style the HTML element with a yellow background color and some padding.

<abbr>

The abbr element is used to mark up an abbreviation or acronym.

<blockquote>

The blockquote element is used to present content from another source.

<dl>

The dl element indicates a description list.

<code>

The following HTML elements: span, section, and div defines a section in a document.

<kkd>

To indicate input that is typically entered via the keyboard, use the kbd element.

<pre>

For multiple lines of code, use the pre element.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

What is Bootstrap & How it works? An Overview and Its Use Cases!!!

https://www.devopsschool.com/blog/what-is-bootstrap-how-it-works-an-overview-and-its-use-cases/(opens in a new tab) What is Bootstrap? Bootstrap is the most popular HTML, CSS and JavaScript framework for developing a responsive and mobile friendly website. It…

Read More

WordPress Typography Patterns: Styled Lists, Notice Boxes, and Code Blocks with Reusable CSS

This guide modernizes a legacy WordPress typography post into practical, reusable patterns for custom list markers, callout boxes, and code styling. It focuses on maintainable CSS and editor-friendly markup you can reuse across posts and documentation pages.

Read More

What to choose: front-end or backend development?

Regarding web development, two main areas play a crucial role in creating a functional and visually appealing website: frontend and backend development. Frontend development focuses on the…

Read More

Building the Virtual Classroom: An Introduction to HTML5 Layouts for Online School Portals

To build a virtual classroom, you need to grasp HTML5 layouts. Use semantic elements like <header>, <nav>, <section>, and <footer> for better accessibility and SEO. Make certain…

Read More

What is Apache Cordova and use cases of Apache Cordova?

What is Apache Cordova? Apache Cordova, formerly known as PhoneGap, is an open-source mobile development framework that allows developers to build mobile applications using web technologies such…

Read More

How to Implement Accessibility in Web Development: Practical Steps and Tools

Making your website accessible to everyone, including people with disabilities, is crucial. Accessibility in web development means ensuring that colors, text, and navigation support all users. Web…

Read More