Выдает ошибки из-за формы подписки
Страницы: 1
Выдает ошибки из-за формы подписки
Из-за одного кода, кода на подписку, валидатор выдает 5 ошибок. В чем дело, не пойму. На другом моем сайте стоит такой же код и все нормально.
Что пишет валидатор:
---------------------------------------------------------------------------------
[LIST=1]
[*] [IMG] Line 247, Column 110: there is no attribute "target"
…fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('htt…
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.
[/LIST]-----------------------------------------------------------------------------
 2.
[LIST=1]
[*] [IMG] Line 250, Column 20: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
class="feedemail"/>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>"smile;) inside an inline element (such as "<a>", "<span>", or "<font>"smile;).
[/LIST]

Ну и остальное в том же духе.
Сам код:
<form style="text-align:center;" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=sayt/podpiska', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
    <input type="text" name="email"
    value="Введите E-mail адрес" onblur="if (this.value == '')  {this.value = 'Введите E-mail адрес';}" onfocus="if (this.value == 'Введите E-mail адрес') {this.value = '';}" 
    class="feedemail"/>
    <input type="hidden" value="sayt/podpiska" name="uri"/>
    <input type="hidden" name="loc" value="ru_RU"/>
    <input type="submit" value="Подписаться" class="feedsubmit"/>
    </form>
Изменено: ubratana - 19 Января 2014 18:56
Проблема не в wordpress. Смотрите в сторону доктайпа - <!DOCTYPE.
В зависимости от выбранного будет больше или меньше ошибок на сайте : htmlbook.ru/html/!doctype
Страницы: 1
Похожие темы:
Читают тему (гостей: 1, пользователей: 0, из них скрытых: 0)
Новые темыОбъявленияСвободное общение
17:40 LOSPOLLOS.COM - Конвертим по рецепту Хайзенберга. Dating, Mainstream, Binary Options 
14:07 2Index - быстрая индексация страниц сайта и обратных ссылок 
12:02 Webvork - международная товарная СРА сеть с сертифицированными офферами на Европу. 
22:23 Подскажите нормальный сервис накрутки ПФ 
09:57 3snet - гемблинг, беттинг, форекс, бинарные опционы, майнинг 
15:12 Несколько статей хорошо выдаются в Гугле, но отвратительно в Яндексе 
13:40 Dao.AD: Монетизация и покупка Push/Pops/Inpage и Video трафика! 
15:26 TETChange-Обменник криптовалют 
12:28 AlwaysMoney - платформа для обмена криптовалют 
01:35 - Вечные ссылки с трастовых сайтов 2024 проверен FastTrust 
22:30 SOCKS5 приватные прокси на 30 дней для PayPal 
22:29 Google Voice аккаунты для бесплатных SMS и звонков 
22:29 PayPal аккаунты для любых целей 
20:15 Belurk — высокоскоростные анонимные прокси от 0,24 рублей 
16:49 monetizer.agency – рекламная сеть для взрослого и развлекательного трафика. 100$ новому вебмастеру 
20:43 Добро пожаловать в цифровой мир... 
15:59 Про мясо 
23:09 ПП от PMS remote.team - 200$ за команду 
13:28 Компьютерная мышь 
22:55 Ну что, кто куда деваете свои сайты? 
22:34 Используете беспроводные наушники?