HTML4 HTML5
Groups a heading element (<h1>–<h6>) along with supporting content such as subtitles, taglines, or paragraphs (<p>). Prevents subtitles from forming separate sections in document outline generation.
Both opening and closing tags are required.
Attributes: Global attributes are used, such as class, id, and style.
Code:
The browser will interpret this code as follows:
Comprehensive course for beginners and advanced users