Inline Subheadings in Bootstrap

To add an inline subheading to any of the headings, simply add <small> around any of the elements or add .small class and you will get a smaller text in a lighter color. 

You can try to run the following code to work with inline subheadings in Bootstrap −


 Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="">
      <script src=""></script>
      <script src=""></script>
      <h1>Heading1 h1.
         <small>I'm secondary Heading h1</small>
      <h2>Heading2 h2.
         <small>I'm secondary Heading h2</small>