|
1 | 1 | [](https://app.circleci.com/pipelines/github/webfirmframework/wff?branch=master&filter=all) |
2 | 2 | [](https://www.codacy.com/app/webfirm-framework/wff?utm_source=github.com&utm_medium=referral&utm_content=webfirmframework/wff&utm_campaign=Badge_Grade) |
3 | 3 | [](https://stackoverflow.com/questions/tagged/wffweb) |
4 | | -[](https://search.maven.org/#artifactdetails%7Ccom.webfirmframework%7Cwffweb%7C12.0.0-beta.12%7Cjar) |
| 4 | +[](https://search.maven.org/#artifactdetails%7Ccom.webfirmframework%7Cwffweb%7C12.0.0%7Cjar) |
5 | 5 | [](https://webfirmframework.github.io/wffweb/wffweb-javadoc) |
6 | 6 | [](https://www.apache.org/licenses/LICENSE-2.0) |
7 | 7 | [](https://webfirmframework.com/twitter) |
@@ -46,38 +46,6 @@ rootTag.setPrependDocType(true); |
46 | 46 | System.out.println(rootTag.toHtmlString(true)); |
47 | 47 | ~~~ |
48 | 48 |
|
49 | | -or the same in another coding style |
50 | | -~~~ |
51 | | -Html html = new Html(null) { |
52 | | - |
53 | | - Head head = new Head(this); |
54 | | - |
55 | | - Body body = new Body(this) { |
56 | | - |
57 | | - new NoTag(this, "Hello World"); |
58 | | - |
59 | | - }; |
60 | | - |
61 | | -}; |
62 | | -// prepends the doc type <!DOCTYPE html> |
63 | | -html.setPrependDocType(true); |
64 | | -System.out.println(html.toHtmlString(true)); |
65 | | -~~~ |
66 | | - |
67 | | -or the same in another coding style |
68 | | -~~~ |
69 | | -Html html = new Html(null) {{ |
70 | | - new Head(this); |
71 | | - |
72 | | - new Body(this) {{ |
73 | | - new NoTag(this, "Hello World"); |
74 | | - }}; |
75 | | -}}; |
76 | | -// prepends the doc type <!DOCTYPE html> |
77 | | -html.setPrependDocType(true); |
78 | | -System.out.println(html.toHtmlString(true)); |
79 | | -~~~ |
80 | | - |
81 | 49 | or the same in few lines |
82 | 50 |
|
83 | 51 | ~~~ |
|
0 commit comments