Arduino Ethernet Shield SD Card web server showing html code instead of web page

Recently I decided to change the code of my home automation system to run off an SD card, I used the code below and instead of showing a web page (I opened the file on my computer so the html is fine) it shows the html code instead…
Anyone know what the problem is?

#include <SPI.h>
#include <Ethernet.h>
#include <SD.h>

EthernetServer server(8081);
File webFile;

char c;
String readString;
int page = 4;

byte mac[] = {0x00, 0xAB, 0xBB, 0xCC, 0xDE, 0x04};
byte ip[] ={ 000, 000, 000, 000 };
byte subnet[] = { 000, 000, 000, 000 };
byte gateway[] = { 000, 000, 000, 000 };
byte myDns[] = { 000, 000, 000, 000 };

void setup() {
  delay(5000);
  Serial.begin(9600);
  Ethernet.begin(mac,ip,myDns,gateway,subnet);
  server.begin();

  if (!SD.begin(4)) {
    Serial.println("SD card initialization failed!");
    return;
  }
  Serial.println("SD card initialised.");
  if (!SD.exists("PIZZA.HTM")) {
    Serial.println("Cannot find file!");
  }
  else {
    Serial.println("Found file.");
  }
}

void loop() {
  EthernetClient client = server.available();
  if (client) {
    Serial.println("Client found");
    while (client.connected()) {
      if (client.available()) {
        Serial.println("Client connected");
        c = client.read();
        if (readString.length() < 100) {
          readString += c;
        }
        if (c == '\n') {
          if (page == 4) {
            client.println("HTTP/1.1 200 OK");
            client.println("Content-Type: html");
            client.println("Connection: close");
            client.println();
            webFile = SD.open("PIZZA.HTM");
            if (webFile) {
              while(webFile.available()) {
                client.write(webFile.read());
              }
              webFile.close();
            }
            delay(1);
            client.stop();
          }
        }
      }
    }
  }
  delay(1000);
}

The HTML code is very simple just as an example page

<!DOCTYPE html>
<html>
	<title>Test</title>
	<body bgcolor='lightgray'>
		<h1>Coming Soon...</h1>
	</body>
</html>

change client.write to client.print