The ``checked`` attribute was changed to use HTML5 boolean syntax rather
than ``checked="checked"``.
This default output is a two-column HTML table, with a ``<tr>`` for each field.
This default output is a two-column HTML table, with a ``<tr>`` for each field.
Notice the following:
Notice the following:
...
@@ -471,6 +476,10 @@ Notice the following:
...
@@ -471,6 +476,10 @@ Notice the following:
attributes and ``<label>`` tags are included in the output by default, to
attributes and ``<label>`` tags are included in the output by default, to
follow best practices, but you can change that behavior.
follow best practices, but you can change that behavior.
* The output uses HTML5 syntax, targeting ``<!DOCTYPE html>``. For example,
it uses boolean attributes such as ``checked`` rather than the XHTML style
of ``checked='checked'``.
Although ``<table>`` output is the default output style when you ``print`` a
Although ``<table>`` output is the default output style when you ``print`` a
form, other output styles are available. Each style is available as a method on
form, other output styles are available. Each style is available as a method on
a form object, and each rendering method returns a Unicode object.
a form object, and each rendering method returns a Unicode object.
...
@@ -751,19 +760,19 @@ method you're using::
...
@@ -751,19 +760,19 @@ method you're using::
<tr><th>Subject:</th><td><ul class="errorlist"><li>This field is required.</li></ul><input type="text" name="subject" maxlength="100" required /></td></tr>
<tr><th>Subject:</th><td><ul class="errorlist"><li>This field is required.</li></ul><input type="text" name="subject" maxlength="100" required /></td></tr>