Hypirinha is a Java library for generating HTML. Hypirinha follows the fluent interface style, whereby several method calls can be chained together as single statement to achieve the desired result.
Example
```
import static org.hypirinha.html.AttributeFactory.*;
import static org.hypirinha.html.ElementFactory.*;
import org.hypirinha.html.elements.*;
import org.hypirinha.html.output.PrintAdapter;
public class HelloWorldCommandLine {
public static void main(String[] args) {
Html html = html();
html.head().link(rel("stylesheet"), href("styles.css"));
html.body().p(classs("greeting")).text("Hello World");
new PrintAdapter().print(html, System.out);
}
}
```
produces on stdout: