diff --git a/examples/BasicExample.java b/examples/BasicExample.java new file mode 100644 index 0000000..ff5a3a0 --- /dev/null +++ b/examples/BasicExample.java @@ -0,0 +1,27 @@ +//Java Code +html().with( + head().with( + title().withText("Title"), + link().withRel("stylesheet").withHref("/css/main.css") + ), + body().with( + main().with( + h1().withText("Heading!") + ) + ) +).render(); + + +/* Rendered HTML + +
+