Registry / utility / j2html

j2html

JSON →
library1.6.0javamavenunverified

A Java to HTML builder library with a fluent API for generating HTML markup.

<dependency> <groupId>com.j2html</groupId> <artifactId>j2html</artifactId> <version>1.6.0</version> </dependency>
INSTALL
IMPORT
SIG · J2HTML
J
j2html
utilityjavav1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TagCreator
j2html.TagCreator

Generate a simple HTML page using j2html's fluent API.

import static j2html.TagCreator.*; public class Example { public static void main(String[] args) { String html = html( body( h1("Hello, World!"), p("This is a paragraph.") ) ).render(); System.out.println(html); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
j2html — mvn dependency:get j2html · libregistry