html validates alone but not in an include

Discussion about HTML and XHTML related issues.

html validates alone but not in an include

Postby gjpowell » Tue Jan 27, 2009 4: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
gjpowell
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Tue Jan 27, 2009 4:20 pm

Postby MikeGale » Wed Jan 28, 2009 2:24 am

The second URL gives a 404.

You have nothing there.
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 612
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate

Postby Albert Wiersch » Wed Jan 28, 2009 9: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
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2433
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to HTML and XHTML

Who is online

Users browsing this forum: No registered users and 1 guest

cron