How do I get CGI.pm to output HTML5 instead of XHTML 1.0?
        Posted  
        
            by CyberSkull
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by CyberSkull
        
        
        
        Published on 2010-05-13T08:40:15Z
        Indexed on 
            2010/05/13
            8:44 UTC
        
        
        Read the original article
        Hit count: 250
        
I'm having some trouble getting CGI.pm to output to HTML5 instead of XHTML 1.0 or HTML 4.01. When I try "HTML5" or "HTML 5" as the -dtd argument in start_html() I get a document in HTML 4. I've also tried importing :HTML5, but that doesn't seem to work either. Any advice?
© Stack Overflow or respective owner