Builds an HTML form for later use.