Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: cgi.pm -import strict html4 address into html4 strict dtd header

by Khen1950fx (Canon)
on Nov 20, 2011 at 10:16 UTC ( [id://939053]=note: print w/replies, xml ) Need Help??


in reply to Re^3: cgi.pm -import strict html4 address into html4 strict dtd header
in thread cgi.pm -import strict html4 address into html4 strict dtd header

Hint: 'hyphen'.
#!/usr/bin/perl use strict; use warnings; use CGI qw/:html4/; my $q = CGI->new; print $q->start_html(-lang => 'en-GB', -dtd => ['-//W3C//DTD HTML 4.01//EN', 'http://www.w3.org/TR/html4/strict.dtd']);
  • Comment on Re^4: cgi.pm -import strict html4 address into html4 strict dtd header
  • Download Code

Replies are listed 'Best First'.
Re^5: cgi.pm -import strict html4 address into html4 strict dtd header
by Don Coyote (Hermit) on Nov 21, 2011 at 20:18 UTC

    Hint: 'gotcha'.

    #!/usr/bin/perl use strict; use warnings; use CGI qw/:html4 -no_xhtml/; my $q = CGI->new; print $q->start_html( -lang => 'en-GB', dtd => ['-//W3C//DTD HTML 4.01//EN', 'http://www.w3.org/TR/html4/strict.dtd']); #:p

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://939053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-04-16 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found