01 Jun

Validando html5 en w3c

When the attribute xml:lang in no namespace is specified, the element must also have the attribute lang present with the same value.

…p.me/ns#” xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”” lang=”ES_es” dir=””>


El motivo de este error es que estamos validando html5 por lo cual el antiguo xml que usábamos para validar xhtml pues habría que quitarlo.

Bad value for attribute dir on element html.


Simplmente lo borramos, no sirve

DUBLINCORE


Bad value DC.Rights for attribute name on element meta: Keyword dc.rights is not registered.

Solución en stack

Para solucionar el problema de los dublin core , hay que sustituir DC. Por DCterms

Rel=

Solo se puede utilizar Rel= con los siguientes tag.
Link type Effect on… Brief description
link a and area
alternate Hyperlink Hyperlink Gives alternate representations of the current document.
author Hyperlink Hyperlink Gives a link to the author of the current document or article.
bookmark not allowed Hyperlink Gives the permalink for the nearest ancestor section.
help Hyperlink Hyperlink Provides a link to context-sensitive help.
icon External Resource not allowed Imports an icon to represent the current document.
license Hyperlink Hyperlink Indicates that the main content of the current document is covered by the copyright license described by the referenced document.
next Hyperlink Hyperlink Indicates that the current document is a part of a series, and that the next document in the series is the referenced document.
nofollow not allowed Annotation Indicates that the current document’s original author or publisher does not endorse the referenced document.
noreferrer not allowed Annotation Requires that the user agent not send an HTTP Referer (sic) header if the user follows the hyperlink.
prefetch External Resource External Resource Specifies that the target resource should be preemptively cached.
prev Hyperlink Hyperlink Indicates that the current document is a part of a series, and that the previous document in the series is the referenced document.
search Hyperlink Hyperlink Gives a link to a resource that can be used to search through the current document and its related pages.
stylesheet External Resource not allowed Imports a stylesheet.
tag not allowed Hyperlink Gives a tag (identified by the given address) that applies to the current document.




Line 55, Column 21: A charset attribute on a meta element found after the first 512 bytes.




Fuente google+

Bad value X-UA-Compatible for attribute http-equiv on element meta.


Si es php sustituir por :

header(‘X-UA-Compatible: IE=edge,chrome=1’);El codigo se encuentra en templates/tu plantilla/warp/systems/joomla/layouts/head.php

Share this

Leave a reply