kostenloser Webspace werbefrei: lima-city


Validator zeigt fehler an

lima-cityForumDie eigene HomepageHTML, CSS & Javascript

  1. Autor dieses Themas

    cookies

    Kostenloser Webspace von cookies

    cookies hat kostenlosen Webspace.

    Ich habe tag/folgendes dokument">folgendes Dokument durch den W3C-Validator laufen lassen:

    <!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="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="http://cookies.lima-city.de/thickbox/jquery.js"></script>
    <script type="text/javascript" src="http://cookies.lima-city.de/thickbox/thickbox.js"></script>
    <link rel="stylesheet" href="http://cookies.lima-city.de/thickbox/thickbox.css" type="text/css" media="screen" />
    <title>Das Browsergame - Game  &bull; &Uuml;bersicht</title>
    <link rel="stylesheet" media="screen" href="style.css" />
    <link rel="SHORTCUT ICON" href="http://cookies.lima-city.de/images/computer.png" type="image/png" />
    </head>
    <body>
    
    <div id="maintable">
    
    <div id="header">
    <!--HEADER-->
    <div id="nav">
    <p  id="p_nav">
    <br />
    <a href="ingame.php">[img]http://cookies.lima-city.de/images/world.png[/img]</a>
    
    <a href="ingame.php?site=music">[img]http://cookies.lima-city.de/images/music.png[/img]</a>
    
    <a href="ingame.php?site=coffee">[img]http://cookies.lima-city.de/images/cup.png[/img]</a>
    
    <a href="ingame.php?site=messages">[img]http://cookies.lima-city.de/images/email.png[/img]</a>
    
    <a href="ingame.php?site=friends">[img]http://cookies.lima-city.de/images/group.png[/img]</a>
    
    <a href="ingame.php?site=work">[img]http://cookies.lima-city.de/images/application_cascade.png[/img]</a>
    
    <a href="ingame.php?site=school">[img]http://cookies.lima-city.de/images/book_open.png[/img]</a>
    
    <a href="ingame.php?site=shop">[img]http://cookies.lima-city.de/images/computer.png[/img]</a>
    
    <a href="ingame.php?site=user&amp;user=Administrator">[img]http://cookies.lima-city.de/images/user.png[/img]</a>
    
    <a href="ingame.php?site=settings">[img]http://cookies.lima-city.de/images/script_edit.png[/img]</a>
    
    <a href="ingame.php?site=support">[img]http://cookies.lima-city.de/images/telephone.png[/img]</a>
    
    <a href="forum">[img]http://cookies.lima-city.de/images/comment.png[/img]</a>
    
    <a href="chat/chat.php">[img]http://cookies.lima-city.de/images/comments.png[/img]</a>
    
    <a href="blog">[img]http://cookies.lima-city.de/images/newspaper.png[/img]</a>
    
    <a href="logout.php">[img]http://cookies.lima-city.de/images/cross.png[/img]</a>
    
    <br />
    <!--p_nav--></p>
    <div id="navlabel"></div>
    <!--nav--></div>
    <!--header--></div>
    <div id="statusbar">
    <a href="ingame.php?site=money" class="nav1" onmouseover="document.getElementById('navlabel').innerHTML = 'Geld'" onmouseout="document.getElementById('navlabel').innerHTML = ''">[img]http://cookies.lima-city.de/images/money.png[/img] 0</a>&nbsp;&nbsp;&nbsp;
    <a href="ingame.php?site=highscore" class="nav1" onmouseover="document.getElementById('navlabel').innerHTML = 'Punkte / Highscore'" onmouseout="document.getElementById('navlabel').innerHTML = ''">[img]http://cookies.lima-city.de/images/coins.png[/img] </a>&nbsp;&nbsp;&nbsp;
    <!--statusbar--></div>
    <div id="left">
    <div id="navi">
    
    <!-- NAVIGATION -->
    
    <!-- navi --></div>
    <!-- left --></div>
    <div id="right">
    <div id="inhalt">
    <!-- INHALT -->
    <p><font class="normal3">
    Herzlich Willkommen, !
    <br />
    Es sind im Moment 12 User online!
    <br />
    <br />
    [img]http://cookies.lima-city.de/images/information.png[/img] Informationen:
    <br />
    
    Die Software ist jetzt auch eingebaut!
    <br />
    <a href="ingame.php?site=messages" class="a-normal1">Keine neuen Nachrichten</a>
    </font></p><br />
    <br />
    <br />
    <!-- inhalt --></div>
    <!-- right --></div>
    <!--maintable--></div>
    </body>
    </html>


    Aber da zeigt er mir immer 2 Fehler an:

    # Line 72, Column 16: Attribute "class" exists, but can not be used for this element.
    
    <p><font class="normal3">
    
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


    und

    # Error Line 72, Column 25: element "font" undefined. Did you mean "font" or "basefont"?
    
    <p><font class="normal3">
    
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    
        * incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
        * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
        * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).


    Ich sehe da aber keinen Fehler und ich hab auh bei SelfHTML und durch Google nichts gefunden.

    Mfg cookies.

    Ach so ja, Linie 72 ist die hier:

    <p><font class="normal3">


    Beitrag zuletzt geändert: 21.5.2009 11:25:53 von cookies
  2. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

  3. Das <font> Element ist veraltet und sollte nicht mehr benutzt werden!
    Für sowas gibt es CSS.
  4. Das font-Tag sollte es bei XHTML nicht mehr geben. Ersetze es mal durch "span"!
  5. Autor dieses Themas

    cookies

    Kostenloser Webspace von cookies

    cookies hat kostenlosen Webspace.

    Klasse, funktioniert!

    Danke an euch beide! :thumb:
  6. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

Dir gefällt dieses Thema?

Über lima-city

Login zum Webhosting ohne Werbung!