a minimal HTML presentation engine