[thelist] How do you validate an A link with a "target"?
Burhan Khalid
burhankhalid at members.evolt.org
Wed Apr 17 16:03:01 CDT 2002
Luther, Ron wrote:
> Hi Gang,
>
>
> Is there some syntax that will give me "open this link in a new window" functionality that will validate to 4.01 strict?
>
> I was trying the <a target="foo" href="bar?one=1&two=2">Here</a> and the w3c validator says it doesn't like "target". [It didn't really care for the ampersand either.]
>
> I tried the 4.01 Transitional ... and it doesn't like something about my ampersand.
>
>
> RonL.
> (Who's trying to make this project validate since it will be part of an Extranet visible to external customers.)
Hey Ron :
As far as the ampersand goes, you can get that part to validate by
replacing it with & As far as the target thing goes, the only thing
that I can recommend is putting the href part before the target part. A
quick perusal of the good ol' w3.org site didn't say anything about
target not being a valid attribute of the a tag.
hth,
Burhan Khalid
More information about the thelist
mailing list