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
Форумы портала PHP.SU :: Версия для печати :: Ошибки валидации помогите один раз разобраться
Форумы портала PHP.SU » » Вопросы новичков » Ошибки валидации помогите один раз разобраться

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

1. imediasun - 20 Января, 2014 - 02:17:33 - перейти к сообщению
Выдает ошибки которые я понять не могу, все вроде правильно но выдвет ошибки, что ему не хватает, может это из за фреймворка?Ну вот хотя бы первую ошибку взять тег доктайп правильно же написан а выдает ошибку.Файлы пересохранил в ЮТФ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">

 

Powered by ExBB FM 1.0 RC1