Update BasicExample.java
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
//Java Code
|
||||
html().with(
|
||||
head().with(
|
||||
title().withText("Title"),
|
||||
title("Title"),
|
||||
link().withRel("stylesheet").withHref("/css/main.css")
|
||||
),
|
||||
body().with(
|
||||
main().with(
|
||||
h1().withText("Heading!")
|
||||
h1("Heading!")
|
||||
)
|
||||
)
|
||||
).render();
|
||||
@@ -24,4 +24,4 @@ html().with(
|
||||
</main>
|
||||
</body>
|
||||
<html>
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user