Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the MIME Type for XHTML Mobile Profile documents?

0
Posted

What is the MIME Type for XHTML Mobile Profile documents?

0

• XHTML Mobile Profile documents do not have a single MIME media type. However, the most preferred MIME type is application/vnd.wap.xhtml+xml which should be used for serving XHTML documents to XHTML user agents. In addition application/xhtml+xml can also be used. Another available MIME type is text/html but using it for XHTML should be limited to rendering on existing HTML user agents. XHTML documents served as text/html will not be processed as XML. As a result, structural errors may not be detected by user agents. Authors who wish to support both XHTML and HTML user agents may utilize content negotiation by serving HTML documents as text/html and XHTML documents as application/vnd.wap.xhtml+xml.

0

• XHTML Mobile Profile documents do not have a single MIME media type. However, the most preferred MIME type is application/vnd.wap.xhtml+xml which should be used for serving XHTML documents to XHTML user agents. In addition application/xhtml+xml can also be used. Another available MIME type is text/html but using it for XHTML should be limited to rendering on existing HTML user agents. XHTML documents served as text/html will not be processed as XML. As a result, structural errors may not be detected by user agents. Authors who wish to support both XHTML and HTML user agents may utilize content negotiation by serving HTML documents as text/html and XHTML documents as application/vnd.wap.xhtml+xml.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.