You are verified as XHTML Transient , not Strict . If you manually override doctype to XHTML 1.0 Strict, you will get this error:
Error line 11, column 76: The "target" attribute exists, but cannot be used for this element.
... om "title =" A new window opens "target =" _ blank "> The link opens in a new window
Use this doctype if you want to be strict:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Transitional schemes still allow certain obsolete elements and attributes, I think, to help people move with a step to more stringent markup.
EDIT:
OK, so the source code was XHTML 1.1, in which there is only one version (no Strict / Transitional), and according to this FAQ, the target attribute is really not allowed. Therefore, I assume that this should be a mistake in the validator.
Mike weller
source share