HTML to fine-html converter

Converts any, even invalid, HTML to Java code for the fine-html library used in fine-web applications.

INPUT
Press Ctrl-Enter to submit
OUTPUT

Unlike formatted HTML, fine-html does not keep whitespace symbols in output. Sometimes it breaks page layout, particularly because spaces in inline flow matter. The "Preserve whitespace" option adds whitespace strings to generated code where they appear in source HTML.