Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Building Web Pages Using html/template

Watch The Screencast

Go in 5 Minutes, episode 14.

This screencast shows the basics of using the html/template package to build complex web pages with Go.

Screencast video:

Extended screencast:


  1. Writing templates
  2. Rendering templates
  3. Example code

Additional resources

The GoDoc for html/template ( is very high quality and has great explanations on how the package works and how to use it.

You can’t perform that action at this time.