Ошибка <noindex>

M
На сайте с 15.07.2009
Offline
37
906

При проверке проекта на

http://validator.w3.org/

Результат:

Validation Output: 1 Error

Line 239, Column 9: element "noindex" undefined

<noindex>&#9993;

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

Программисты не знают из-за чего возникла ошибка. Посоветовали проконсультироваться.

код

<noindex>

<div style="margin-top:10px;">

<!-- Yandex.Metrika -->

<script src="//mc.yandex.ru/resource/watch.js" type="text/javascript"></script>

<script type="text/javascript">

try { var yaCounter182498 = new Ya.Metrika(182498); } catch(e){}

</script>

<noscript><div style="position: absolute;"><img src="//mc.yandex.ru/watch/182498" alt="" /></div></noscript>

<!-- Yandex.Metrika -->

<!--LiveInternet counter--><script type="text/javascript"><!--

document.write("<a href='http://www.liveinternet.ru/click' "+

"target='_blank' rel='nofollow'><img src='http://counter.yadro.ru/hit?t44.6;r"+

escape(document.referrer)+((typeof(screen)=="undefined")?"":

";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?

screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+

";"+Math.random()+

"' alt='' title='LiveInternet' "+

"border=0 width=31 height=31><\/a>")//--></script><!--/LiveInternet-->

</div>

</noindex></div>

iren K
На сайте с 28.12.2008
Offline
222
#1

открывающий тег стоит перед <div>, а закрывающий до </div> - исправьте..

c уважением Iren
M
На сайте с 15.07.2009
Offline
37
#2
iren K:
открывающий тег стоит перед <div>, а закрывающий до </div> - исправьте..

Спасибо.

Сейчас дам им ссылку на тему.

P/S Может я не весь код скопировал.... сейчас еще раз посмотрю.

Cell
На сайте с 09.10.2007
Offline
552
#3

По-моему, <noindex> всегда будет невалидным в validator.w3.org

Поправьте, если не так.

The Piper at the Gates of Dawn.
Fat Bear
На сайте с 01.12.2006
Offline
264
#4

А зачем яву в noindex закрывать?

Открыть счёт в Capitalist ( https://capitalist.net/reg?from=e5707ff0c3 ). Виртуальные карты, USDT, банковские переводы, выплаты партнёрских программ. Push-партнёрка с высоким рейтом hClicks(https://hclicks.com/?ref=61dc0714).
metaContent
На сайте с 31.03.2007
Offline
103
#5
iren K:
открывающий тег стоит перед <div>, а закрывающий до </div>

А внимательнее посмотрите.

А валидатор помогает с вложенностью noindex или просто ругается на него?

http://validator.w3.org/check?uri=http%3A%2F%2Fforum.searchengines.ru%2Fshowthread.php%3Ft%3D494726&charset=%28detect+automatically%29&doctype=Inline&group=0

element "noindex" undefined

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий