html validates alone but not in an include

Discussion about HTML and XHTML related issues.
Post Reply
gjpowell
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Tue Jan 27, 2009 3:20 pm

html validates alone but not in an include

Post by gjpowell » Tue Jan 27, 2009 3:36 pm

Hello.

I don't understand why my page will validate when it is by itself but when i put it in a php include with nothing else in it, it breaks.

www.advantagerealtyco.com will break validation, but www.advantagerealtyco.com/mainpage.php validates fine.

Any ideas?

Thanks,
Geoff

User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
Posts: 706
Joined: Mon Dec 13, 2004 1:50 pm
Location: Tannhauser Gate

Post by MikeGale » Wed Jan 28, 2009 1:24 am

The second URL gives a 404.

You have nothing there.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3407
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Wed Jan 28, 2009 8:46 am

I can confirm the 404.

This is what CSE HTML Validator said:

An HTTP 404 response code means that the client (in this case CSE HTML Validator) was able to make a request to the server but the server was not able to find what was requested or was configured to not fulfill the request and could not reveal the reason why. Check the URL to make sure it is correct.
Image
Albert Wiersch

Post Reply