Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default WHYY!!!!

    so..my first page was giving me lots of trouble in the validator so i made a
    new page very simple with nothing on it, no graphics or anything and i run the
    validator and i get the same first to errors in my other page and i have no
    idea what they mean or why they are doing this..this is the code for the page..
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>

    <body>
    help.
    </body>
    </html>

    and this is what the validator says:
    Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
    The tag: "html" doesn't have an attribute: "xmlns" in currently active
    versions. Line: 3
    Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
    The tag: "meta" has an XML style closing syntax for an empty element even
    though version: "HTML20" is not an XML tag language.Line: 6




    ShadyLane Guest

  2. #2

    Default Re: WHYY!!!!

    WHYY is the local PBS channel. Do you have their permission to use these
    call letters? 8)

    Try this page -

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>

    <body>
    <p>help. </p>
    </body>
    </html>

    You definitely don't need the XML prolog (in fact, it shouldn't be there at
    all), and you don't need the extra attributes in the <html> tag either.


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "ShadyLane" <webforumsuser@macromedia.com> wrote in message
    news:e1om3n$r01$1@forums.macromedia.com...
    > so..my first page was giving me lots of trouble in the validator so i made
    > a
    > new page very simple with nothing on it, no graphics or anything and i run
    > the
    > validator and i get the same first to errors in my other page and i have
    > no
    > idea what they mean or why they are doing this..this is the code for the
    > page..
    > <?xml version="1.0" encoding="iso-8859-1"?>
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="http://www.w3.org/1999/xhtml">
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    > </head>
    >
    > <body>
    > help.
    > </body>
    > </html>
    >
    > and this is what the validator says:
    > Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
    > The tag: "html" doesn't have an attribute: "xmlns" in currently active
    > versions. Line: 3
    > Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
    > The tag: "meta" has an XML style closing syntax for an empty element even
    > though version: "HTML20" is not an XML tag language.Line: 6
    >
    >
    >
    >

    Murray *ACE* Guest

  3. #3

    Default Re: WHYY!!!!

    ..oO(Murray *ACE*)
    >You definitely don't need the XML prolog (in fact, it shouldn't be there at
    >all)
    It can be safely omitted if the document is encoded and delivered as
    UTF-8 (the default in XML). But if you use another encoding and omit the
    prolog, then you have to make sure that the server delivers the document
    correctly, so the user agent knows how to decode it.

    In fact it _should_ be there, the only problem is that it will trigger
    quirks mode in IE.
    >and you don't need the extra attributes in the <html> tag either.
    It should be there, and in strictly conforming documents it's mandatory.

    3.1.1. Strictly Conforming Documents
    [url]http://www.w3.org/TR/xhtml1/#strict[/url]

    Micha
    Michael Fesser Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139