Tutorials¶
Lessons that take you through a complete, working scenario from start
to finish. Read these in order if you’re new to tagz.
What’s the right tutorial?¶
Build your first page — start here. You’ll construct a complete HTML5 document with head and body, render it pretty-printed, and write it to disk.
Parse and modify existing HTML — read an HTML file, walk the tree, replace nodes, and re-serialise.
Stream a large document — generate a ten-thousand-row table without buffering the whole HTML in memory.
If you already know what you want to do, skip to the How-to guides. For “why does it work this way” questions, head to Explanation.