Валидность script

Жерносенко Виталий
На сайте с 14.05.2007
Offline
109
801

Не подскажите как исправить такую ошибку для валидности кода?

Line 17, Column 79: required attribute "type" not specified

…src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>

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

здесь точно такая же ошибка выдается:

<script src="js/jquery.flexslider-min.js"></script>

D.iK.iJ
На сайте с 26.05.2013
Offline
225
#1

Не очень силен в языке, но разве он не просит дописать type="text/javascript" в script ?

Адаптивный дизайн в 2 строчки ( https://dikij.com/wm/adaptaciya-saytov.php ). + Принимаю заказы любой сложности ( https://searchengines.guru/ru/forum/926323 ). 💎 Еще я делаю классные кулоны с опалами ( https://mosaicopal.ru/ ).
Жерносенко Виталий
На сайте с 14.05.2007
Offline
109
#2
DiKiJ:
Не очень силен в языке, но разве он не просит дописать type="text/javascript" в script ?

Именно это спасибо!

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