Ошибка валидации XHTML - помогите разобраться

(Ответов: 2, Просмотров: 1046)
  1. Дипломник Аватар для r.yevgeniy
    • Регистрация: 13.04.2011
    • Сообщений: 139
    • Репутация: 57
    Всем привет. Исправлял ошибки на верстки блоге, было 17 штук, осталась одна. Никак не могу найти решение и понять в чем дело. Валидатор пишет следующее:
    Line 26, Column 28: there is no attribute "src"
    <link rel="stylesheet" src="/wp-content/themes/NumertoMagazine/css/slide.css" type="text/css" />
    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.
    Там он что то про доктайп говорит, что мол надо Transitional использовать, так и сделал. Но все равно ошибка остается. Подскажите ка исправить.
    • 0
  2. Software Engineer Аватар для Zvеr
    • Регистрация: 07.02.2010
    • Сообщений: 603
    • Репутация: 228
    • Webmoney BL: ?
    Надо не src, а href
    • 1

    Спасибо сказали:

    r.yevgeniy(16.11.2011),
  3. Дипломник Аватар для r.yevgeniy
    • Регистрация: 13.04.2011
    • Сообщений: 139
    • Репутация: 57
    Блин, точняк, чо то я затупил или глаза уже замылились) выше стоит другой файл стилей прикрепленный, там href. Спасибо.
    • 0

Похожие темы

Темы Раздел Ответов Последний пост
Помогите разобраться с Яндексом
Поисковые системы 9 08.10.2011 14:22
Ошибка синтаксиса в файле xhtml
Web программирование 2 20.07.2011 20:58
Помогите разобраться
Поисковые системы 7 06.06.2011 14:22
Прошу помочь разобраться и понять в чем ошибка
Web программирование 2 13.04.2011 14:48
помогите разобраться My.Mail.Ru ****mer
Вопросы от новичков 0 13.05.2010 03:08

У кого попросить инвайт?

Вы можете попросить инвайт у любого модератора:

Информеры