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
Click to Enlarge
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
9.0 | 4.0 | 5.0 | 4.1 | 11.1 | Yes |
Video