Html code not being read as a webpage

652 views Asked by At

I think this is something simple,

this code isn't displaying as a web page:

http://summercpd.com/ophthalmic

Any help would be greatly appreciated :-]

2

There are 2 answers

3
Jez On BEST ANSWER

Your web server is not sending the header

Content-Type: text/html

Without that, the browser doesn't know how to display the content.

5
Reeno On

The content type of the sent document is text/plain, it has to be text/html. Add a file called .htaccess in the same folder with the following content:

AddType text/html .html .htm

The file name should then end with *.html