package j2html.comparison.j2html;

import j2html.tags.specialized.HtmlTag;

import static j2html.TagCreator.attrs;
import static j2html.TagCreator.body;
import static j2html.TagCreator.h1;
import static j2html.TagCreator.head;
import static j2html.TagCreator.html;
import static j2html.TagCreator.link;
import static j2html.TagCreator.main;
import static j2html.TagCreator.title;

public class HelloWorld {

    public static HtmlTag tag = html(
        head(
            title("Title"),
            link().withRel("stylesheet").withHref("/css/main.css")
        ),
        body(
            main(attrs("#main.content"),
                h1("Heading!")
            )
        )
    );

}
