• Warum um W3 willen ist meine index Seite nich valid???
    Das Problem liegt am -a href- code, aber wo? warum? hilfe!


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
    <meta http-equiv="content-type"
    content="text/html; charset=iso-8859-1" />
    <title>HTML-Tutorial von <!-- w --><a class="postlink" href="http://www.html-seminar.de">http://www.html-seminar.de</a><!-- w --></title>
    </head>


    <body>
    <a href="seite2">klapt's endlich? </a>
    <h1> Ich liebe mich!</h1>
    </body>


    </html>



    im validator steht:
    Validation Output: 1 Error
    Line 11, Column 22: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
    <a href="seite2.htm">klapt's endlich? </a>[/b]

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!