Не нравятся результаты поиска? Попробуйте другой поиск!
DLE FAQ » Вопросы КЭПу » Осталось совсем не много для полной валидности?

Осталось совсем не много для полной валидности?


     09.03.2015    Вопросы КЭПу    3278

вопрос
месяц кропотливой работы по достижению валидности сайта почти подошла к концу..
Но осталось всего 6 ошибок с которыми ни как не могу разобраться если не трудно помогите. Отблагодарю чем смогу

а вот собственно и результат проверки на валидность

Validation Output: 6 Errors

Error Line 130, Column 4: document type does not allow element "h3" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<h3><center>Аккаунты на халяву</center></h3>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

Error Line 130, Column 12: document type does not allow element "center" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<h3><center>Аккаунты на халяву</center></h3>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

Error Line 399, Column 41: "itemscope" is not a member of a group specified for any attribute
…pan id="dle-speedbar"><span itemscope itemtype="http://data-vocabulary.org/Bre…

Error Line 399, Column 50: there is no attribute "itemtype"
…le-speedbar"><span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">…

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.

Error Line 399, Column 127: there is no attribute "itemprop"
…><a href="http://wf-man.ru/" itemprop="url"><span itemprop="title">Всё для War…

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.

Error Line 399, Column 148: there is no attribute "itemprop"
…an.ru/" itemprop="url"><span itemprop="title">Всё для WarFace</span></a></span…

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.

Ответил: КЭП


Осталось совсем не много для полной валидности?

— Тогда мы идём к вам!

10 комментариев

morozis
Юзер

morozis - 9 марта 2015 00:44 -

вот собственно ссылка на результат с более понятным синтаксисом валидность

vadims
Гости

vadims - 9 марта 2015 01:05 -

Удачи и дальше кропотливо работать!
Вот проверьте на валидность страницу с вашего сайта :D
http://wf-man.ru/gayd-varfeys/30-poleznye-ssylki-varfeys.html
52 Ошибки.


morozis
Юзер

morozis - 9 марта 2015 01:31 -

vadims,
Речь идет о главной странице main а до фулстори и шортстори еще не добрался

Ошибка которую необходимо исправить itemprop это не в верстке проблема.


morozis
Юзер

morozis - 9 марта 2015 01:41 -

Большинство ошибок это окно добавления комментариев и от числа 52 останется совсем не много и о том как исправить оставшиеся не будет таких проблем. Все делается постепенно не вижу смысла прыгать с одной проблемы на другую

morozis
Юзер

morozis - 9 марта 2015 01:51 -

норм ответа не дождался убрал speedbar тему прошу закрыть или удалить

Serik
Местный

Serik - 9 марта 2015 18:11 -

Ну и зря убрали. Валидность пофигу для ПС, а вот разметка очень ценится и в результатах выдачи Гугла смотрится очень презентабельно - многие на такую втыкают охотнее...

СПАСИБО надо тыкать в кнопку!

vadims
Гости

vadims - 9 марта 2015 02:21 -

У меня на сайте 1000 ошибок выдает модуль онлайн (который наверное стоит удалить) и всего 34 ошибки. Многие ошибки выводят модули. Например ругается на AJAX-fullstory... но я как то не напрягаюсь =) ибо идеального кода точно не будет. Сайт должен быть нужным и посещаемым, а то что там ошибки, так флаг им в руки.

ПафНутиЙ
Админ

ПафНутиЙ - 9 марта 2015 09:33 -

Цитата: vadims
Например ругается на AJAX-fullstory

По подробнее можно? Какаую конкретно ошибку выдаёт валидатор?

Каков вопрос - таков и ответ. Просто помните об этом.

vadims
Гости

vadims - 9 марта 2015 09:54 -

Это я ступил. Js код просто в main.tpl. Убрал все в файл и все супер!

Sander
PHP-developer

Sander - 9 марта 2015 02:39 -

<h3 style="text-align: center;"><a href="/razdacha-akkauntov-ot-morozis.html" title="Халява">Аккаунты на халяву</a></h3>


Не используйте тег center. Не пихайте блочный элемент внутрь строчного.

SanDev.pro - мой блог.

Telegram: @sandev
Skype: Sander8804

Чтобы комментировать - войдите или зарегистрируйтесь на сайте

Похожие вопросы

наверх