Warning: Cannot use a scalar value as an array in /home/admin/public_html/forum/include/fm.class.php on line 757

Warning: Invalid argument supplied for foreach() in /home/admin/public_html/forum/include/fm.class.php on line 770

Warning: Invalid argument supplied for foreach() in /home/admin/public_html/forum/topic.php on line 737
Форумы портала PHP.SU :: Ошибки валидации помогите один раз разобраться

 PHP.SU

Программирование на PHP, MySQL и другие веб-технологии
PHP.SU Портал     На главную страницу форума Главная     Помощь Помощь     Поиск Поиск     Поиск Яндекс Поиск Яндекс     Вакансии  Пользователи Пользователи


 Страниц (1): [1]   

> Без описания
imediasun
Отправлено: 20 Января, 2014 - 02:17:33
Post Id


Частый посетитель


Покинул форум
Сообщений всего: 605
Дата рег-ции: Авг. 2012  


Помог: 2 раз(а)

[+][+][+][+][+]


Выдает ошибки которые я понять не могу, все вроде правильно но выдвет ошибки, что ему не хватает, может это из за фреймворка?Ну вот хотя бы первую ошибку взять тег доктайп правильно же написан а выдает ошибку.Файлы пересохранил в ЮТФ8 без Бом

Error Line 1, Column 2: Non-space characters found without seeing a doctype first. Expected <!DOCTYPE html>.

<!DOCTYPE html>


Error Line 1, Column 2: Element head is missing a required instance of child element title.

<!DOCTYPE html>

Content model for element head:
If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element and no more than one is a base element.
Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element.

Error Line 1, Column 17: Stray doctype.

<!DOCTYPE html>


Error Line 2, Column 43: Stray start tag html.

<html xmlns="http://www.w3.org/1999/xhtml">


Error Line 3, Column 6: Stray start tag head.

<head>


Error Line 4, Column 25: Attribute charset not allowed on element meta at this point.

<meta charset="utf-8" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 4, Column 25: Element meta is missing one or more of the following attributes: content, itemprop, property.

<meta charset="utf-8" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 5, Column 8: Element title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

<title></title>

Contexts in which element title may be used:
In a head element containing no other title elements.
Content model for element body:
Flow content.

Error Line 5, Column 16: Element title must not be empty.

<title></title>


Error Line 6, Column 36: Attribute name not allowed on element meta at this point.

<meta name="keywords" content="" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 6, Column 36: Element meta is missing one or more of the following attributes: itemprop, property.

<meta name="keywords" content="" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 7, Column 39: Attribute name not allowed on element meta at this point.

<meta name="description" content="" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 7, Column 39: Element meta is missing one or more of the following attributes: itemprop, property.

<meta name="description" content="" />

Attributes for element meta:
Global attributes
name
http-equiv
content
charset

Error Line 8, Column 114: Element link is missing required attribute property.

…/templates/store/3/css/style.php" type="text/css" media="screen, projection" />

Attributes for element link:
Global attributes
href
crossorigin
rel
media
hreflang
type
sizes
Also, the title attribute has special semantics on this element.

Error Line 9, Column 156: Element link is missing required attribute property.

…r/css/style_all_sites_header.css" type="text/css" media="screen, projection" />

Attributes for element link:
Global attributes
href
crossorigin
rel
media
hreflang
type
sizes
Also, the title attribute has special semantics on this element.

Error Line 11, Column 7: Stray end tag head.

</head>


Error Line 12, Column 6: An body start tag seen but an element of the same type was already open.

<body>


Error Line 19, Column 27: Bad value for attribute src on element img: Must be non-empty.

<img src="" height="80">

Syntax of IRI reference:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

Error Line 19, Column 27: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

<img src="" height="80">

(Отредактировано автором: 20 Января, 2014 - 02:34:00)

 
 Top
Страниц (1): [1]
Сейчас эту тему просматривают: 0 (гостей: 0, зарегистрированных: 0)
« Вопросы новичков »


Все гости форума могут просматривать этот раздел.
Только зарегистрированные пользователи могут создавать новые темы в этом разделе.
Только зарегистрированные пользователи могут отвечать на сообщения в этом разделе.
 



Powered by PHP  Powered By MySQL  Powered by Nginx  Valid CSS  RSS

 
Powered by ExBB FM 1.0 RC1. InvisionExBB