<a href="-online-7"></a> <a href=""></a> <a href="-online-5"></a> <a href=""></a> <a href=" …
von:
VPNwelt.com sucht Feedback Wie der Name schon sagt handelt es sich um eine Review Website für…
von: florian.berg.privat
hallo kann mir jemand dabei helfen dieses hier zu korrigieren:
Validation Output: 2 Errors
Warning Line 187, Column 342: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
…che.addthis.com/icons/v1/thumbs/facebook.gif" border="0" alt="Facebook" />
✉
Warning Line 188, Column 211: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
…/cache.addthis.com/icons/v1/thumbs/twitter.gif" border="0" alt="Twitter" />
✉
Warning Line 189, Column 188: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
…p://cache.addthis.com/icons/v1/thumbs/more.gif" border="0" alt="More..." />
✉
Error Line 190, Column 110: Bad value publisher for attribute rel on element a: Keyword publisher is not registered.
…blisher" style="text-decoration:none;"> <img src="https://ssl.gstatic.com/imag…
Syntax of link type valid for
and <area>:
A whitespace-separated list of link types listed as allowed on
and <area> in the HTML specification or listed as an allowed on
and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself. <br />
Syntax of link type valid for
and <area>:
A whitespace-separated list of link types listed as allowed on
and <area> in the HTML specification or listed as an allowed on
and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.Hallo
Die ersten drei Fehler beziehen sich darauf das aufgrund der Trennugn von Strukur und Design manche Attribute unter HTML5 nicht mehr erlaubt sind.
Das trifft auf [html]border="0"[/html] zu.
Alternative wird mit [css]img{border:0;}[/css] angegeben. Diese ist aber in diesem speziellen Fall zu allgemein.
Als Ersatz [html]style="border:0;"[/html] zu verwenden an der Stelle führt zu Spaghetti Kode.
Bessere Alternative wäre also die speziellen Bilder anzusprechen.
[css][src=\'http://cache.addthis.com/icons/v1/thumbs/facebook.gif\'],
[src=\'http://addthis.com/bookmark.php?s=twitter&source=tbxnj-1.0&pubid=ra-4f2460d14b6fab8d\'],
[src=\'http://www.addthis.com/bookmark.php?v=250&pubid=ra-4f2460d14b6fab8d\']{border:0;}[/css]
etwas allgemeiner aber dann nicht für ältere Browser geeignet wäre dann folgendes.
[css]
[src=\'http://www.addthis.com/\']{border:0;}[/css]
Die anderen zwei Fehler beziehen sich darauf das für das rel Attribut zwei Angaben nicht erlaubt sind.
[html] rel="publisher"[/html]
[html] rel="generator"[/html]
Lösung rauswerfen und falls doch für Funktionalität die Angaben benötigt werden den Fehler entweder ignorieren oder unter Umständen das Attribut mit Javascript setzen.
Gruß
Jörg
Beitrag erstellen
EinloggenKostenlos registrieren