To add Sub Heading for H1-H6 tag we can make use of 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 :
This is My H1 Heading This is my sub heading
This is My H2 Heading This is my sub heading
This is My H3 Heading This is my sub heading
This is My H4 Heading This is my sub heading
This is My H5 Heading This is my sub heading
This is My H6 Heading This is my sub heading
- remove div vertical scroll
- Create HTML button that looks like a href hyperlink
- Comprehensive 256 Ascii code table with Html Hex IBM Microsoft Key
- HTML5 HELLO WORLD Example
- Get HTML table td, tr or th inner content value with id or name attribute
- Adding Sub Headings to Bootstrap Header tags
- What is the doctype for HTML5?
- Chessboard with pieces using pure HTML and CSS
- Hyperlink in html (anchor tag) without a underline
- W3 : character data is not allowed here html validation error
- Fibonacci series from 1 to 500 table
- 9 Border to DIV Element in HTML Examples
- How to add multiple spaces between html page text
- How to turn off autocomplete in input fields in HTML Form
- Default speed of Marquee tag : SCROLLAMOUNT
- How to word wrap in HTML
- Force convert HTML text input to upper case
- HTML5 CSS3 Color Codes List
- How to remove old 404 pages ulrs from Google crawler
- reCaptcha Verification expired. Check the checkbox again
- All directional arrows codes for HTML
- Align html element at the center of page vertically and horizontally
- How to make a div tag clickable
- Remove Html head and body tags from ckeditor source
- Auto Refresh Webpage after every x Second or Minute using Meta Tag?
- Error code 0xCAA82EE2: Something went wrong (request timed out) [Microsoft] - Microsoft
- Struts 2 : There is no Action mapped for namespace [/] and action name [form] associated with context path [/proj] - Java
- Customize Praise badge for Microsoft Teams with own images, values, brand - Microsoft
- INSTALL_FAILED_INSUFFICIENT_STORAGE Error Android Emulator - Android
- remove div vertical scroll - Html
- Select Line Number TextEdit on Mac - MacOS
- [fix] fatal: pathspec index.html did not match any files error - Git
- How to extract Java Jar/War/Ear files in Linux - Java