Articles → HTML 5 → Hgroup In Html5

Hgroup In Html5






Purpose





Syntax


<hgroup>.. list of more than one headings</hgroup>



Example


<html><head><title>hgroup Demo</title></head><body><hgroup><h1>Main heading</h1><h2>Sub heading</h2></hgroup></body></html>



Output


Picture showing the output of hgroup tag in html5

Click to Enlarge


Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
9.04.05.04.111.1Yes



Video





Posted By  -  Karan Gupta
 
Posted On  -  Friday, November 4, 2016
 
Updated On  -  Thursday, January 3, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250