Package com.oorian.html.elements
Interface HgroupElement
public interface HgroupElement
Marker interface for elements that are valid children of the
<hgroup> element.
The HTML specification restricts <hgroup> content to heading elements
(<h1> through <h6>) and <p> elements.
This interface enables
to accept any valid
hgroup child via a single typed overload, enforcing the content model at compile time.invalid reference
Hgroup#addElement(HgroupElement)
- Since:
- 2026
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also: