homepage Welcome to WebmasterWorld Guest from 54.242.18.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Doctype problem
Overcoming Frontpage stuff
BuckerBucker




msg:969734
 7:31 pm on Mar 14, 2004 (gmt 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!

 

BuckerBucker




msg:969735
 7:34 pm on Mar 14, 2004 (gmt 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......

ronin




msg:969736
 9:57 pm on Mar 14, 2004 (gmt 0)

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.

BuckerBucker




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

Great idea Ronin......I take it I don't need that Microsoft xmlns stuff. Do you know what that coding is for?

encyclo




msg:969738
 11:41 pm on Mar 14, 2004 (gmt 0)

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.

ronin




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

Do you know what that coding is for?

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

BuckerBucker




msg:969740
 3:30 pm on Mar 15, 2004 (gmt 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.

BuckerBucker




msg:969741
 4:22 am on Mar 16, 2004 (gmt 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!

ronin




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved