View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
Since you are using the FoxWeb 1.X html_out method of sending data back to the browser, you must make sure that the DOCTYPE tag is inserted after the HTTP header (but before the <HTML> tag):
html_out = 'content-type: text/html' + chr(10) + chr(10) + ;
    '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">' + chr(10) + ;
    '<HTML>.... (the rest of your content)


FoxWeb Support Team email

Sent by Ed McPeak on 07/22/2002 11:43:32 AM:
I have the following line coded to be the first thing FoxWeb returns to the browser.  (It is coded just before the <html> tag).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
However, when I view the source from the web browser, this line does not show up in the code listing.
Is this normal or do I have to do something special to get it to show up when I view the source.
I have stepped thru the code to ensure that it is being written to the beginning of the html_out string.