Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
Walidacja html - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: xHTML, CSS, JavaScript (https://www.webmastertalk.pl/forum-xhtml-css-javascript)
+--- Wątek: Walidacja html (/thread-walidacja-html)

Strony: 1 2


Walidacja html - Jozeph - 10-11-2010

Witam! staram się pisać zgodnie ze standardami W3C i coś dziwnię odbywa się walidacja. Mianowicie css waliduje się poprawnie a w html'u wyskakują błędy:
Kod:
No Character Encoding Found! Using iso-8859-2.

None of the standards sources gave any information on the character encoding labeling for this document. The character encoding iso-8859-2, which you have chosen via the Encoding override option, will be used for tentative validation.

Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.


No Character encoding declared at document level

No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.

See this tutorial on character encoding for techniques and explanations.

o co chodzi ? Dodam że oczywiście kodowanie jest. ISO-8859-2.


RE: Walidacja html - ixtab - 10-11-2010

Trzymajcie mnie...
Może kod pokażesz?


RE: Walidacja html - Pedro84 - 10-11-2010

Nie, nie dawaj kodu! Idę kawę sobie zrobić, z fusów powróżymy....

Co za ludzie...


RE: Walidacja html - KeeL - 11-11-2010

(10-11-2010, 23:12)Pedro84 napisał(a): Nie, nie dawaj kodu! Idę kawę sobie zrobić, z fusów powróżymy....

Co za ludzie...
Hmm a może by wyświetlać dla ludzi poniżej 20 postów informacje że wklejenie kodu jest potrzebne?


RE: Walidacja html - Pedro84 - 11-11-2010

(11-11-2010, 01:33)KeeL napisał(a):
(10-11-2010, 23:12)Pedro84 napisał(a): Nie, nie dawaj kodu! Idę kawę sobie zrobić, z fusów powróżymy....

Co za ludzie...
Hmm a może by wyświetlać dla ludzi poniżej 20 postów informacje że wklejenie kodu jest potrzebne?

Ja nie wiem, ludzie coraz głupsi czy ja się starzeję. Adminuję dwa zagraniczne fora o podobnej tematyce, pieprznąłem w zeszłym tygodniu wielkie czerwone info o potrzebie kodu, etc.


RE: Walidacja html - KeeL - 11-11-2010

(11-11-2010, 01:36)Pedro84 napisał(a):
(11-11-2010, 01:33)KeeL napisał(a):
(10-11-2010, 23:12)Pedro84 napisał(a): Nie, nie dawaj kodu! Idę kawę sobie zrobić, z fusów powróżymy....

Co za ludzie...
Hmm a może by wyświetlać dla ludzi poniżej 20 postów informacje że wklejenie kodu jest potrzebne?

Ja nie wiem, ludzie coraz głupsi czy ja się starzeję. Adminuję dwa zagraniczne fora o podobnej tematyce, pieprznąłem w zeszłym tygodniu wielkie czerwone info o potrzebie kodu, etc.
Tu też by się takie coś przydało, ostatnio tak przeglądałem forum, to Ci co pierwszy raz, albo "słabo wprawieni" wgl kodów nie wstawiają.


RE: Walidacja html - Pedro84 - 11-11-2010

Albo nie myślą zupełnie.


RE: Walidacja html - KeeL - 11-11-2010

(11-11-2010, 01:40)Pedro84 napisał(a): Albo nie myślą zupełnie.

No niestety, ale nie róbmy już tu offtopu Smile, trzeba by gdzie indziej założyć wątek na ten temat.


RE: Walidacja html - Jozeph - 11-11-2010

haha ^^ fala krytyki ^^ Już prawie sobie poradziłem został ostatni problem:

Kod:
No Character Encoding Found! Using iso-8859-2.

None of the standards sources gave any information on the character encoding labeling for this document. The character encoding iso-8859-2, which you have chosen via the Encoding override option, will be used for tentative validation.

Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.

No Character encoding declared at document level

No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.

See this tutorial on character encoding for techniques and explanations.
a tu jest DTD:
Kod:
<!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="pl" lang="pl">
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="contenet-type" content="text/html: charset=iso-8859-2" />
<title>Fine</title>
Jeszcze jakis kod potrzebny do tego pytania ?


RE: Walidacja html - ixtab - 11-11-2010

Możesz dorzucić na samej górze:
Kod:
<?xml version="1.0" encoding="iso-8859-2"?>