Skip to content

Commit 0c7f75f

Browse files
authored
Update README.md
1 parent 754003e commit 0c7f75f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ import static j2html.TagCreator.*;
2727

2828
public class Main {
2929
public static void main(String[] args) {
30-
body().with(
31-
h1("Heading!").withClass("example"),
32-
img().withSrc("img/hello.png")
30+
body(
31+
h1("Hello, World!"),
32+
img().withSrc("/img/hello.png")
3333
).render();
3434
}
3535
}

0 commit comments

Comments
 (0)