Help for this page

Select Code to Download


  1. or download this
    #maybe the next two lines can be combined -- I am not sure
    use CGI::Carp qw(fatalsToBrowser);
    ...
        -no_xhtml=>1, #this has no effect...
        -dtd=>'3.2 DTD' #this does the trick, but not listed in the standa
    +rd as to how to set it -- I hope this is right...
    }
    
  2. or download this
    <!DOCTYPE html
        PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
         "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
    
  3. or download this
    Error Line 4 column 12: there is no attribute "XMLNS".
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U
    +S"><head>
    ...
    The element named above was found in a context where it is not allowed
    +. This could mean that you have incorrectly nested elements -- such a
    +s a "style" element in the "body" section instead of inside "head" --
    + or two elements that overlap (which is not allowed).
    
    One common cause for this error is the use of XHTML syntax in HTML doc
    +uments. Due to HTML's rules of implicitly closed elements, this error
    + can create cascading effects. For instance, using XHTML's "self-clos
    +ing" tags for "meta" and "link" in the "head" section of a HTML docum
    +ent may cause the parser to infer the end of the "head" section and t
    +he beginning of the "body" section (where "link" and "meta" are not a
    +llowed; hence the reported error).