Показать сообщение отдельно
Старый 01.07.2008, 21:22   #11
Друг Seo Cafe
 
Аватар для Wardal
 
Регистрация: 30.06.2008
Адрес: FakeLand
Сообщений: 616
Сказал(а) спасибо: 164
Поблагодарили 217 раз(а) в 118 сообщениях
Репутация: 4870
По умолчанию Ответ: Тест на валидацию

Да, интересно было почитать..

Теперь я хотел бы кое-что спросить у понимающих.
У меня тест на валидность прошли ссылки и ксс, а вот хтмл имеет ошибки, причем все практически одинаковые, я точно не знаю что и как не нравится валидатору, но хотелось бы с Вами посоветоваться:

1)
Line 6, Column 66: end tag for "meta" omitted, but OMITTAG NO was specified.
…v="Expires" content="Thu, Jan 1 1970 00:00:00 GMT">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Как понимаю я, нужно вставить вместо > вот этот закрывающий />.
Вот я только не пойму почему ему предыдущий не нравиться...

2)
Line 6, Column 0: start tag was here.
<meta http-equiv="Expires" content="Thu, Jan 1 1970 00:00:00 GMT">

Тут выдает не как еррор а как "инфо", при этом выделяет открывающий тег <, что тут ему не нравится? :cx:

3)
Line 13, Column 11: there is no attribute "NAME".
<META NAME="author" CONTENT="Wardal">

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.

Тут вообще не знаю что ему не понятно..

4)
Line 13, Column 36: element "META" undefined.
<META NAME="author" CONTENT="Wardal">
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).

5)
Line 30, Column 93: required attribute "alt" not specified.
…" width="207" height="123" border="0"></td>✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

6)
Line 30, Column 32: start tag was here.
<td width="20%"><img src="images/hn2.gif" width="207" height="12

7)
Line 40, Column 10: XML Parsing Error: Opening and ending tag mismatch: td line 27 and tr.
</tr>

Тут я понимаю что нужно закрывать в той же строчке что и тег td?

8)
Line 352, Column 7: XML Parsing Error: Premature end of data in tag meta line 12.
</html>

А вот что тут за несоответствие?
Wardal вне форума   Ответить с цитированием
Чудненькая подборка MFA: