Выдает ошибки из-за формы подписки
Страницы: 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:03 Устали от Пустых Обещаний? Market-Place.su даёт реальные деньги! 
15:08 Стоит ли добавлять сайт в Rambler топ 100? 
14:14 LOSPOLLOS.COM - Конвертим по рецепту Хайзенберга. Dating, Mainstream, Binary Options 
19:33 Dao.AD: Монетизация и покупка Push/Pops/Inpage и Video трафика! 
09:02 Как продвигать сайт с неуникальным контентом 
08:57 Absence в Армении 
14:50 Индексация страниц 
22:05 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
20:56 Cryptonet.pro - быстрый и надежный обмен электронных валют! 
16:58 PonyBit.ru - обменный пункт PonyBit.ru (Понибит.ру) 
14:30 SwapPix.io - быстрый и безопасный обменник криптовалют. 
13:55 Обменник криптовалюты OnlyCrypto 
13:36 Affiliate Top - партнерская программа нового уровня 
10:29 local-pay.com - быстрый и надежный обменник криптовалюты Local-Pay 
22:28 Ну что, кто куда деваете свои сайты? 
20:48 Точные прогнозы на футбол 
22:09 Добро пожаловать в цифровой мир... 
19:42 Топ-5 способов использовать мобильные прокси для бизнеса: подробный обзор 
22:08 Накрутка поисковых подсказок 
14:01 Union Pharm - топовая фарма-партнерка для профессионалов! 
10:59 Ням-ням! - 8 деликатесов, которые когда-то ели только бедные люди