This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5268 - Validator gives wrong "there is no attribute" response
Summary: Validator gives wrong "there is no attribute" response
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2007-11-14 10:37 UTC by Dimitar Boiadjiev
Modified: 2007-11-14 21:35 UTC (History)
0 users

See Also:


Description Dimitar Boiadjiev 2007-11-14 10:37:39 UTC
In my page i have a section, with elements like these:
<a href="" target="_blank" title="The Bulgarian portal for Robotics"><img src="banners/robotics-bg_banner1.jpg" alt="The Bulgarian portal for Robotics" class="banner88x31" /></a><br />

When i check my page with the validator i get this error:

Line 17, Column 41: there is no attribute "target" .
ref="" target="_blank" title="The Bulgarian portal for

Just to make sure, i checked the tag list in w3scools, but my code is absolutely valid.
Comment 1 Olivier Thereaux 2007-11-14 21:35:56 UTC
The target attribute is only present in "Transitional" document types. w3schools (not affiliated with w3c by the way) is a nice resource, but not always 100% accurate. When in doubt, the w3c specifications are the reference...