The first step in writing a template is to hand write a finished html page, or take an existing one that you'd like to use as the basis for future pages. I'd like to emphasise the obvious that it is the quality and compliance of this html that determines the quality and compliance in your finished pages. Zonk does not create html, it 're-packages' it.
Sorry, but the rest of the tutorial does not exist yet...