'Click submit and change font color and background color from header in Servlets

I'm starting a web programming course and I've some trouble changing the font color and font background in my header, Maybe it's very simple but I don't really understand how it works, here is my code, Thanks in advance for your help.

protected void doGet(HttpServletRequest request, 
HttpServletResponse response) throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    java.util.Date today = new java.util.Date();
    out.println("<html>"+
                "<body>"+
                "<h1 align=center>HF\'s Chapter1 Servlet</h1>"+
                "<p>"+ today + "</p</br>"
                                +"<form>"
+"<select>"
+"<option value=\"cyan\">azul cyan</option>"
+"<option value=\"white\">blanco</option>"
+"</select>"
+"<select>"
+"<option value=\"#ff0000\">rojo</option>"
+"<option value=\"black\">negro</option>"
+"</select>"
+"<input type=\"submit\" name=\"btn1 value=\"Enviar Datos/>"
+"</form>"+ "</body>" +"</html>");
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source