• Страница 1 из 1
  • 1
Форум » uCoz » Помощь по uCoz » В чем ошибка?
В чем ошибка?
iFSARTs Оффлайн
Проверенный
0
Дата: Пятница, 2016-01-08, 17:28 | Сообщение # 1
Проверил сайт через validator и вот такая ошибка

Код
Line 313, Column 38: document type does not allow element "script" here
</html><script type="text/javascript">new Image().src="http://pix-00.tizerbank.…

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


Из-за чего?


Сообщение отредактировал iFSARTs - Пятница, 2016-01-08, 17:28
Профиль
Syava Оффлайн
Проверенный
10
Дата: Пятница, 2016-01-08, 17:33 | Сообщение # 2
после </html> скрипт удали и встав перед </body>
вроде в том ошибка




Сообщение отредактировал Syava - Пятница, 2016-01-08, 17:33
Профиль
iFSARTs Оффлайн
Проверенный
0
Дата: Пятница, 2016-01-08, 17:45 | Сообщение # 3
После </html> там вообще ничего нет)
Профиль
Syava Оффлайн
Проверенный
10
Дата: Пятница, 2016-01-08, 18:02 | Сообщение # 4
ссылку на сайт )

Профиль
iFSARTs Оффлайн
Проверенный
0
Дата: Пятница, 2016-01-08, 18:20 | Сообщение # 5
Спасибо, написал ТП, это со стороны юкоз походу))
Профиль
Syava Оффлайн
Проверенный
10
Дата: Пятница, 2016-01-08, 18:25 | Сообщение # 6
может)

Профиль
Форум » uCoz » Помощь по uCoz » В чем ошибка?
  • Страница 1 из 1
  • 1
Поиск: