Ethernet Shield + Html code = No memory enough

Hello, I am working on a Automation project wich is basicly two modules whose objective is to control the loads/eletronics on my room(TV/Air conditioner/Lamps).

[One is a board that i made myself wich have: 2 Infrared Leds, 2 relays, 1 rf reeiver and 1 power supply]
This one is at my room. One IR led is pointing to TV, the other to air conditioner. The relays are connected to my lamps. This one works fine.

[The other module is composed of: 1 Arduino uno + 1 Ethernet Shield + 1 Rf emitter]
For this one i have no memory enough to use the HTML code that i want.
I noticed that if i remove all the buttons i get 60% of the memory i have.
If i use this format of buttons i am using i get 120% of the memory.
I want some help so i can make a decent app/site with de memory i have in my Uno, not using ridiculous buttons. i like the result i got using the code i'll share bellow, the problem is i cant make it fit.

Pardon me for the poor english. Hope some one can help.

The code is attached. It is basicly a web page with buttons that send RF signals for the other module.
I couldn't put it here because it exceded the maximum 9000 charcters, but i'll leave here the main problema witch is: buttons.

 client.println("<HTML>");
 client.println("<HEAD>");
 client.println("<TITLE>House</TITLE>");
 client.println("</HEAD>");
 client.println("<BODY>");
 client.println("<center>"); 
 client.println("<font size=10>");
 client.println("<H1>Televisao</H1>");
 client.println("</font>");
 client.println("
");  
 client.print("<input type=submit value=ON style=font-size:50px;width:450px;height:200px onClick=location.href='/?on'>");
 client.print("<input type=submit value=OFF style=font-size:50px;width:450px;height:200px onClick=location.href='/?on'>");
 client.println("
");    
 client.print("<input type=submit value=VOLUME+ style=font-size:50px;width:450px;height:200px onClick=location.href='/?plus'>");
 client.print("<input type=submit value=VOLUME- style=font-size:50px;width:450px;height:200px onClick=location.href='/?less'>");
 client.println("
");  
 client.print("<input type=submit value=CANAL+ style=font-size:50px;width:450px;height:200px onClick=location.href='/?canalmais'>");
 client.print("<input type=submit value=CANAL- style=font-size:50px;width:450px;height:200px onClick=location.href='/?canalmenos'>");
 client.println("<hr />");
 client.println("<font size=10>");
 client.println("<H1>Ar Condicionado</H1>");
 client.println("</font>");
 client.print("<input type=submit value=ON style=font-size:50px;width:450px;height:200px onClick=location.href='/?aron'>");
 client.print("<input type=submit value=OFF style=font-size:50px;width:450px;height:200px onClick=location.href='/?aroff'>");
 client.println("
");
 client.print("<input type=submit value=TEMP+ style=font-size:50px;width:450px;height:200px onClick=location.href='/?tempmais'>");
 client.print("<input type=submit value=TEMP- style=font-size:50px;width:450px;height:200px onClick=location.href='/?tempmenos'>");
 client.println("
");
 client.print("<input type=submit value=MODE style=font-size:50px;width:450px;height:200px onClick=location.href='/?mode'>");
 client.print("<input type=submit value=FAN style=font-size:50px;width:450px;height:200px onClick=location.href='/?fan'>");
 client.println("<hr />");
 client.println("<font size=10>");
 client.println("<H1>Lampadas</H1>");
 client.println("</font>");
 client.print("<input type=submit value=ON style=font-size:50px;width:450px;height:200px onClick=location.href='/?lighton'>");
 client.print("<input type=submit value=OFF style=font-size:50px;width:450px;height:200px onClick=location.href='/?lightoff'>");
 client.println("
");

CentralFirmware1.3.ino (8.55 KB)

Learn about the F() macro and your problem will be defused a bit.

I updated the whole html code with this macro, like: client.println(F(""));
And now i have lots of space left. I will run it as i get home.

Man, if it works like it looks like.... I will send you flowers.

anyway, thank you for the quick answare.

pylon:
Learn about the F() macro and your problem will be defused a bit.

Thank you so much. You solved my problem.