Skip to content

Commit da80856

Browse files
committed
Add TIL about <hgroup>
1 parent 630b54c commit da80856

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

content/til/2025-06-01-hgroup.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
+++
2+
title = "<hgroup>: The Heading Group element"
3+
+++
4+
5+
The `<hgroup>` element allows grouping
6+
a heading with another heading or a paragraph.
7+
8+
This is really useful for subtitles or taglines:
9+
10+
```html
11+
<hgroup>
12+
<h1>&lt;hgroup&gt;</h1>
13+
<p>The Heading Group Element</p>
14+
</hgroup>
15+
```

0 commit comments

Comments
 (0)