Jak naprawić błędy które wykazał walidator ?

HTML to podstawy w dziedzinie tworzenia stron WWW, Style CSS warto opanować, bowiem za ich pomocą można dostosować odpowiednio wygląd swojej witryny WWW. Zagłębiamy się dalej i udostępniamy w tym forum możliwość zadawania pytań o JavaScript.
ODPOWIEDZ
Inzaghi
Posty: 14
Rejestracja: sob sty 12, 2008 10:14 pm

Jak naprawić błędy które wykazał walidator ?

Post autor: Inzaghi »

Właśnie poddałem moją strone testowi validatora. Mam dużo błędów i jak nie będe wiedział jak naprawić błąd to zamieszcze go w tym temacie licząc na waszą pomoc .

Kod: Zaznacz cały

Line 16, Column 119: element "META" undefined.

…bukmacherzy internetowi, handicapy" />

✉

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).

Kod: Zaznacz cały

Line 118, Column 49: there is no attribute "VALUE".

            <input type="hidden" name="ie" VALUE="iso-8859-2" />

✉

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.
kulmen
Nowy
Nowy
Posty: 64
Rejestracja: sob cze 23, 2007 3:24 am
Kontakt:

Re: Jak naprawić błędy które wykazał walidator ?

Post autor: kulmen »

[quote]* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).[/qoute]

To jest odpowiedź na pierwszy i drugi błąd: w XHTML nie używamy wielkich liter w kodzie!
ODPOWIEDZ