Specify the (X)HTML markup version of the generated output.
Possible Settings:
- "HTML 4.01"
-
This is the default setting.
The output files will be generally compatible with one of these Doctypes:
- HTML 4.01 Transitional
- HTML 4.01 Frameset
The incompatibility may come from the HTML markup found in the text coming from the data source (e.g. doc-comments).
To fix the syntax errors (like missing closing tags) automatically, you can use the option: "Text | Render Embedded HTML | Fix markup"
-
"XHTML 1.0"
-
The output files will be generated according to one of the Doctypes:
- XHTML 1.0 Transitional
- XHTML 1.0 Frameset
This format also implies the mandatory/default settings for the following options:
-
"Output | Add charset" =
true
.
The charset must always be specified in XHTML.
-
"Text | Render Embedded HTML | Fix markup" =
true
(default).
If HTML markup embedded in input text is allowed to format the generated output,
then, in the case of XHTML output it must be parsed and converted into XHTML too
(e.g. simple tags must have proper XML endings "/>"
).
That means, any inconsistencies found in the embedded HTML (e.g. a missing closing tag)
will be fixed on the way.
Related Options:
- Output | Add charset
- Text | Render Embedded HTML | Fix markup