2 [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/) can be
3 safely supported by ikiwiki. There are [several differences between HTML4 and
4 HTML5](http://www.w3.org/TR/html5-diff/).
6 * [HTML5 branch](http://git.webconverger.org/?p=ikiwiki;h=refs/heads/html5)
7 * [ikiwiki instance with HTML5 templates](http://natalian.org)
8 * [HTML5 outliner tool](http://gsnedders.html5.org/outliner/) -- to check you have the structure of your markup correct
10 # htmlscrubber.pm needs to not scrub new HTML5 elements
12 * [new elements](http://www.w3.org/TR/html5-diff/#new-elements)
14 # HTML5 Validation and t/html.t
16 [validator.nu](http://validator.nu/) is the authorative HTML5 validator,
17 however it is almost impossible to sanely introduce as a build dependency
18 because of its insane Java requirements. :( I test locally via
19 [cURL](http://wiki.whatwg.org/wiki/IDE), though Debian packages cannot be built
20 with a network dependency.
22 In the future, hopefully ikiwiki can test for valid HTML5 using [Relax NG
23 schema](http://syntax.whattf.org/) using a Debian package tool
24 [rnv](http://packages.qa.debian.org/r/rnv.html).
26 # HTML5 migration issues
28 # [article](http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-article-element) element
30 This element is poorly supported by browsers. As a workaround, `style.css` needs:
36 Internet Explorer will display it as a block, though you can't seem to be further control the style.
38 # Validator complains with no h1-h6 in header
40 * [#509](http://bugzilla.validator.nu/show_bug.cgi?id=509)
44 The [time element](http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element) ideally needs the datatime= attribute set by a template variable with what [HTML5 defines as a valid datetime string](http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#valid-global-date-and-time-string).
48 au:~% grep timeformat natalian.setup
49 timeformat => '%Y-%m-%d',