Code2care : TechZone Apps & Tutorials

Adding Sub Headings to Bootstrap Header tags



To add Sub Heading for H1-H6 tag we can make use of <small> tag within the header tags.

You can also make other HTML elements behave like the secondary header tags by using class small.

Example :


<h1>This is My H1 Heading <small>This is my sub heading</small></h1>
<h2>This is My H2 Heading <small>This is my sub heading</small></h2>
<h3>This is My H3 Heading <small>This is my sub heading</small></h3>
<h4>This is My H4 Heading <small>This is my sub heading</small></h4>
<h5>This is My H5 Heading <small>This is my sub heading</small></h5>
<h6>This is My H6 Heading <small>This is my sub heading</small></h6>



Output :



bootstrap headers with sub headings












Top




Posts related to bootstrap.


1. How to add hint text in bootstrap input text filed and text area

2. How to make jsfiddle bootstrap ready

3. Make Bootstrap Button look like a link

4. How to Center Align Image in Bootstrap

5. Right Align Text in Bootstrap framework

6. Align left align text in Bootstrap

7. Adding Sub Headings to Bootstrap Header tags

8. Simple Login Page using Bootstrap

9. Rounded Images in Bootstrap framework

    more...

Posts related to html.


1. How to place two div elements next to each other

2. Align html element at the center of page vertically and horizontally

3. Remove Html head and body tags from ckeditor source

4. How to set opacity only for div background and not the text - CSS

5. How to get table td, tr or th inner content value with id or name attribute

6. Comprehensive 256 Ascii code table with Html Hex IBM Microsoft Key

7. Link in html without a underline

8. Adding Sub Headings to Bootstrap Header tags

9. How to make a div tag clickable

10. Top 15 Programming Languages to learn 2014-2015

11. Chessboard with pieces using pure HTML and CSS

12. Default speed of Marquee tag : SCROLLAMOUNT

13. How to make div or text in html unselectable using CSS

14. Add Animated Scrolling to Html Page Title Script

15. Fibonacci series from 1 to 500 table

    more...






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17