Html code?

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
 
T

Thomas A. Rowe

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
 
J

Jens Peter Karlsen [FP MVP]

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

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top