Выдает ошибки из-за формы подписки
Страницы: 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:19 С наступающим Новым годом! АП Яндекс ИКС 23.12.2025 
15:49 Новая поисковая система от OpenAI 
14:42 2Index - быстрая индексация страниц сайта и обратных ссылок 
09:30 Fraud.Hosting: надёжная защита от недобросовестных клиентов 
09:26 Ворд Пресс (или его шаблон) перестал отображать <b> болд жирный 
09:19 Rutube запустил «Новая система монетизации для блогеров» 
23:07 Как Яндекс индексирует ваш сайт? | АПдейт выдача 8.12.2025 
16:29 Clearex.io - Больше чем обменник 
14:34 Продвижение Яндекс подсказок от hoopbots 
14:32 PonyBit.ru - обменный пункт PonyBit.ru (Понибит.ру) 
14:31 Почему клиенты выбирают TriRublya 
14:11 Продам аккаунты Gmail USA IP | Gmail MIX IP | Outlook Old 
13:50 Почему клиенты выбирают TriRublya 
13:42 Почему клиенты выбирают TriRublya 
11:13 С юмором по жизни! 
22:59 Про мясо 
15:07 Добро пожаловать в цифровой мир... 
22:12 BYTIK.shop – сервис по продвижению в популярных социальных сетях​ 
10:10 накрутка трафика в SimilarWeb 
16:50 Компьютерная мышь 
23:03 Точные прогнозы на футбол