Bootstrap <small> element

BootstrapWeb DevelopmentCSS Framework

The <small> element in Bootstrap is used to set inline subheadings.

You can try to run the following code to implement the <small> element:

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap small element</title>
      <meta name = "viewport" content = "width = device-width, initial-scale = 1">
      <link rel = "stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
      <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
      <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
   </head>
   <body>
      <h1>Heading One
         <small>I'm secondary Heading</small>
      </h1>
      <h2>Heading One
         <small>I'm secondary Heading</small>
      </h2>
   </body>
</html>
raja
Published on 02-Jul-2018 06:38:31
Advertisements