Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 7 Ответов
  • 2341 Просмотров
*

Alex-heat-shot

  • Новичок
  • 7
  • 0 / 0
Ошибки в валидаторе
« : 24.09.2015, 07:38:57 »
Объясните пожалуйста как решить эти ошибки или хотя бы направьте к этому.

1 ошибка
Error: Element input with attribute type whose value is button must have non-empty attribute value.
From line 1031, column 5; to line 1031, column 66
ate">↩            <input type="button" class="quantity-controls quantity-plus"/>↩            <


2 ошибка

Error: Element input with attribute type whose value is button must have non-empty attribute value.
From line 1032, column 5; to line 1032, column 67
us"/>↩            <input type="button" class="quantity-controls quantity-minus"/>↩         </
*

AlekVolsk

  • Гуру
  • 6915
  • 415 / 4
Re: Ошибки в валидаторе
« Ответ #1 : 24.09.2015, 07:42:40 »
отсутствует атрибут value="значение", а еще лучше заменить <input type="button" на <button type="button"
*

Alex-heat-shot

  • Новичок
  • 7
  • 0 / 0
Re: Ошибки в валидаторе
« Ответ #2 : 24.09.2015, 07:59:21 »
отсутствует атрибут value="значение", а еще лучше заменить <input type="button" на <button type="button"
  я так понял, надо просто заменить значения и они пропадут?
*

Alex-heat-shot

  • Новичок
  • 7
  • 0 / 0
Re: Ошибки в валидаторе
« Ответ #3 : 24.09.2015, 08:31:15 »
поменял, ошибок стало ещё больше, другово вида

Error: Start tag button seen but an element of the same type was already open.
From line 381, column 5; to line 381, column 68
us"/>↩            <button type="button" class="quantity-controls quantity-minus"/>↩         </
Error: Self-closing syntax (/>) used on a non-void HTML element. Ignoring the slash and treating as a start tag.
From line 381, column 5; to line 381, column 68
us"/>↩            <button type="button" class="quantity-controls quantity-minus"/>↩   
*

robert

  • Живу я здесь
  • 4974
  • 457 / 20
Re: Ошибки в валидаторе
« Ответ #4 : 24.09.2015, 08:35:51 »
Код: html4strict
<input type="button" class="quantity-controls quantity-minus" value="значение_по_умолчанию"/>
« Последнее редактирование: 24.09.2015, 09:33:12 от robert »
Не будь паразитом, сделай что-нибудь самостоятельно!
*

Alex-heat-shot

  • Новичок
  • 7
  • 0 / 0
Re: Ошибки в валидаторе
« Ответ #5 : 24.09.2015, 08:44:33 »
присвоил атрибуту пустое значение и ошибки пропали, а что делать с этой ошибкой?

Bad value /images/stories/virtuemart/product/resized/Барт белый, 100 см38_220x220.jpg for attribute src on element img: Illegal character in path segment: not a URL code point.
From line 430, column 106; to line 430, column 261
 100 см."><img src="/images/stories/virtuemart/product/resized/Барт белый, 100 см38_220x220.jpg" alt="Барт белый, 100 см38" class="featuredProductImage" border="0" /></a><d
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
*

Alex-heat-shot

  • Новичок
  • 7
  • 0 / 0
Re: Ошибки в валидаторе
« Ответ #6 : 24.09.2015, 08:45:56 »
и последняя
Error: A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.
From line 6, column 1; to line 6, column 62
utf-8" />↩<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">↩  <ba
*

robert

  • Живу я здесь
  • 4974
  • 457 / 20
Re: Ошибки в валидаторе
« Ответ #7 : 24.09.2015, 08:54:06 »
Код: html4strict
/images/stories/virtuemart/product/resized/Барт белый, 100 см38_220x220.jpg
Что это за путь к файлу? И пробел нужно экранировать (%20).
Код: html4strict
<meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1">
Нужно знать английский и HTML.
Не будь паразитом, сделай что-нибудь самостоятельно!
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться