Added <body> and <html> closing tags and self-closing <input> tags