Package com.oorian.html.elements
Interface HeadElement
- All Known Implementing Classes:
Base,CssLink,JavaScript,JsonLdScript,Link,Meta,NoScript,Script,Style,Template,Title
public interface HeadElement
Marker interface for elements that are valid children of the
<head> element.
The HTML specification restricts <head> content to metadata elements:
<title>, <base>, <link>, <meta>, <style>,
<script>, <noscript>, and <template>.
This interface enables
to accept any valid
head child via a single typed overload, enforcing the content model at compile time.invalid reference
Head#addElement(HeadElement)
- Since:
- 2026
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also: