Is anyone familiar with the following W3 School Validation error? It is a simple IMG element and it is giving a very funny error on line 43. Column 112. I am stumped.
Error Line 43, Column 112: Attribute target not allowed on element img at this point.
…/images/logo.png" target="_blank" alt="AltText" title="SomeTitle" />
Attributes for element img:
Global attributes
alt
src
crossorigin
usemap
ismap
width
height
A Quick Note: "Column 112" is the closing bracket of the <img/> syntax.
Does anyone know what on earth this means? I cannot for the life of me figure this out and it is the only thing stopping my HTML5 code from validating. Just one little error according to W3 and I cannot understand this and any help would be greatly appreciated.
targetattribute to do in an<img>tag? If you want to have a link, then use<a>. - Sirko