Welcome to WebmasterWorld Guest from 50.19.190.144

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Doctype problem

Overcoming Frontpage stuff

     
7:31 pm on Mar 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2003
posts:58
votes: 0


I placed this statement at the beginning of my index page which was prepared with "FrontPage".

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I placed it before the automatic Frontpage stuff = <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40"> (Automatically loads irregardless of delete)

When I try to validate, I get "This page is not Valid HTML 4.01 Transitional! Then they go on to say there is no attribute "XMLNS" in the Microsoft Frontpage statement.

What statement should I make in order to have a valid declaration? How do I resolve the XMLNS problem?

Just an added note.....I tried adding all of the traditional document declarations through override on the validator, all came back invalid. The one that had the less mistakes was the one I have inside my document, HTML 4.01 Transitional.

Thanks for any help!

7:34 pm on Mar 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2003
posts:58
votes: 0


Apparently, the faces were made when I made a colon and an O. Needless to say, I do not think the faces were a part of the original code inside my page......I don't think......
9:57 pm on Mar 14, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2003
posts:2072
votes: 2


One way to resolve the xmlns problem might be to cut and paste the entire code into Notepad.exe and save it as .htm or .html

Then you will be able to remove that xmlns line and save the document, without the line being automatically re-inserted.

10:45 pm on Mar 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2003
posts:58
votes: 0


Great idea Ronin......I take it I don't need that Microsoft xmlns stuff. Do you know what that coding is for?
11:41 pm on Mar 14, 2004 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


Try this thread, especially pageoneresults's comments about how to clean up FrontPage code bloat:

[webmasterworld.com...]

It's fine to use a wysiwyg editor for producing your site if you like working that way (the consensus is that Dreamweaver is the best), but there is no substitute for learning HTML and what the markup does.

2:01 pm on Mar 15, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2003
posts:2072
votes: 2


Do you know what that coding is for?

No idea, but it's superfluous.
To ensure the page breaks in Netscape, perhaps? >;->

3:30 pm on Mar 15, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2003
posts:58
votes: 0


Wow....I have been learning how to use my notepad to write the code....I think I'm going to speed that process up. The Front Page article was enlightening and spoke of every problem I was experiencing. Thanks for the direct and the replies.
4:22 am on Mar 16, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2003
posts:58
votes: 0


Encylclo and Ronin,

I DID IT! I got Validation for HTML 4.01! Quite an accomplishment when I was faced with disasterous frontpage code which was messing up everything. I took your advice, opened up my notepad, and did it the old fashioned way! Once I got it right, I inputted it into Frontpage, for the convenience of uploading, and it worked great. Thanks for the advice!

5:05 pm on Mar 16, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2003
posts:2072
votes: 2


Well done you!

It's so satisfying, isn't it?

I've started getting into a habit of putting a w3c graphic with a referrer link at the bottom of all of my validated pages, so any time I make an update, I can quickly check with a single click on the live page to make sure it's still valid and that I haven't inadvertently skipped anything.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members