Interface HgroupElement

All Known Implementing Classes:
H1, H2, H3, H4, H5, H6, P, Paragraph

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

invalid reference
Hgroup#addElement(HgroupElement)
to accept any valid hgroup child via a single typed overload, enforcing the content model at compile time.

Since:
2026
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also: