Jump to content

xhtml 1.1 validation


corillo181

Recommended Posts

hey I'm building a website which is on my computer for testing and I'm trying to make it xhtml 1.1 valid

everything thing i done comes out as valid but i ge tone warning.

 

Conflict between Mime Type and Document Type

 

The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml

 

 

they say i can use php to head a header to tell the browser what to use i use this.

 

header("Content-Type: application/xhtml+xml; charset=utf-8");

 

but i still get the same wraning is there any other way to use php to make the mime type validate?

Link to comment
https://forums.phpfreaks.com/topic/64279-xhtml-11-validation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.