I have Servlet code like,
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Hi</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>" + "OK" + "</h1>");
out.println("</body>");
out.println("</html>");
Can anybody help me, how can I define bacground color on the output html page.
replace #d3d3d3 with the color you want (either color name or hex color with #