Html code?

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

I tried to get a company to validate my website but the message came back as "No DOCTYPE specified". I've looked at their sites html files and just above the 'head' it reads as below.

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

I use FP2002 and have never seen such an html code at the top of the page. Should there be one????

Fred
 
It is really only required if you want to validate your HTML.

See the following link:
http://www.htmlhelp.com/tools/validator/doctype.html
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


I tried to get a company to validate my website but the message came back as
"No DOCTYPE specified". I've looked at their sites html files and just above
the 'head' it reads as below.

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

I use FP2002 and have never seen such an html code at the top of the page.
Should there be one????

Fred
 
And if you want to force IE6 into standards compliant mode.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Back
Top