# Usage of Bootstrap Media Objects

BootstrapWeb DevelopmentCSS Framework

The media object is to make the code for developing blocks of information drastically shorter.

You can try to run the following code to implement media objects

## Example

Live Demo

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "media">
<a class = "pull-left" href = "#">
<img class = "media-object" src = "https://www.tutorialspoint.com/sql/images/sql-mini-logo.jpg" alt = "SQL">
</a>
<div class = "media-body">
<h4 class = "media-heading">Media heading</h4>
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
</div>
</div>
<div class = "media">
<a class = "pull-left" href = "#">
<img class = "media-object" src = "https://www.tutorialspoint.com/sql/images/sql-mini-logo.jpg" alt = "SQL">
</a>
<div class = "media-body">
<h4 class = "media-heading">Media heading</h4>
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
<div class = "media">
<a class = "pull-left" href = "#">
<img class = "media-object" src = "https://www.tutorialspoint.com/sql/images/sql-mini-logo.jpg" alt = "SQL">
</a>
<div class = "media-body">
<h4 class = "media-heading">Media heading</h4>
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
This is some sample text. This is some sample text.
</div>
</div>
</div>
</div>
</body>
</html>
Published on 21-Jun-2018 07:57:42
Advertisements