## Maven dependency

To experience the joy of generating HTML with a Java HTML builder, add the j2html dependency to your POM:

    <dependency>
        <groupId>com.j2html</groupId>
        <artifactId>j2html</artifactId>
        <version>1.6.0</version>
    </dependency>

## Steps for upgrading

From 1.4.0 to 1.5.0

- Change return types from `Tag`, `ContainerTag` or `EmptyTag` to the specific tag being returned.
- Change missing method calls on tags, such as `withRole("value")` to `.attr("role", "value")`.
- Method parameters of `Tag`, `ContainerTag` or `EmptyTag` should have a wildcard (<?>) added, or be changed to a specific tag.
- Replace ambiguous method references like `each(list, TagCreator::li)` with lambdas such as `each(list, str -> li(str))`.

## Clone the repo on GitHub

Please clone and/or fork the repo on GitHub, make changes, and create pull requests! We will go through pull requests every sunday, so don't be shy.

✖ Want a simple and modern web framework?
Try our other project: https://javalin.io