Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

From my understanding, the HTML5 is on browser side. Is there anything need to setup on the server to support HTML5? How do I verify the server fully support HTML5? Thanks.

share|improve this question
    
I know there are some MIME mappings that need to be setup on the server, but this question may be better answered on stack overflow or superuser. –  murisonc Sep 20 '11 at 0:40
    
Who downvoted this? Might be a better fit on SO, but a downvote's pretty harsh. –  gravyface Sep 20 '11 at 0:51
    
Thanks. I will try ask on SO. I thought I asked the server side question. –  garconcn Sep 20 '11 at 1:01

1 Answer 1

up vote 5 down vote accepted

An HTTP server knows that it's not an expert in parsing HTML like those "browsers" it keeps hearing about; it cares that it's HTML long enough to set the MIME type to text/html and to decide whether it should be compressed and whether it needs to get handled by an external handler, but that's all based on the file extension.

The contents of HTML are of no concern to a web server; no special requirements need to be in place to serve HTML5 content.

share|improve this answer
    
Thank you for the answer. –  garconcn Sep 20 '11 at 3:46
1  
wrong... websockets must be supported by web server –  nonlinearly May 29 '13 at 19:43
2  
@nonlinearly The websocket protocol was developed as part of the HTML 5 development process, but it isn't part of the HTML 5 spec. It's a separate protocol that uses HTTP as a starting point but isn't HTTP and isn't HTML (or HTML5). –  Shane Madden May 30 '13 at 1:56
1  
See also: websocket.org/aboutwebsocket.html was originally part of the HTML5 specification, but was moved to a separate standards document to keep the specification focused. –  Shane Madden May 30 '13 at 2:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.