Keresés

Hirdetés

Új hozzászólás Aktív témák

  • Brown ügynök

    senior tag

    válasz rt06 #5902 üzenetére

    PHP fájl:
    <!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" xml:lang="hu" >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="screen">
    @import 'css.css';
    </style>
    <title>switch</title>
    </head>
    <body>
    <?php require_once('switch.php'); ?>

    <a href="?t=kapcsolat">Kapcsolat</a>
    <span> |</span>
    <a href="?t=info">Info</a>
    <span> |</span>
    <a href="index.php">Főoldal</a>

    <p> Minden jog fentartva.</p>


    </body>
    </html>

    HTML kimenet:

    <!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" xml:lang="hu" >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="screen">
    @import 'css.css';
    </style>
    <title>switch</title>
    </head>

    <body>

    <a href="?t=kapcsolat">Kapcsolat</a>

    <span> |</span>

    <a href="?t=info">Info</a>

    <span> |</span>

    <a href="index.php">Főoldal</a>


    <p> Minden jog fentartva.</p>

    </body>

    </html>

    Validator szerinti hibák:
    Namespace Found in non-XML Document
    Ha utf-8 kódolásban: Byte-Order Mark found in UTF-8 File. (BOM nélkül nincs hiba)
    Line 2, Column 61: DTD did not contain element declaration for document type name
    Line 3, Column 13: there is no attribute "XMLNS"
    Line 3, Column 53: there is no attribute "XML:LANG"
    Line 3, Column 58: element "HTML" undefined
    Line x, Column y: element "tag" undefined

    "hacsak nem jön a jó tündér break utasítás képében..."

Új hozzászólás Aktív témák