[thelist] Target="_blank" error
Nan Harbison
nan at nanharbison.com
Sat Jan 17 12:06:53 CST 2009
Yeah, you are right, I like to be lazy though. Web work is hard enough!
:-)
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jay Turley
Sent: Friday, January 16, 2009 3:38 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Target="_blank" error
If you have to use Strict, then you can use javascript to enhance the links
to open in a new window without voiding your validation.
Jay
On Fri, Jan 16, 2009 at 1:19 PM, Paul Wampler <pwampler at cupahr.org> wrote:
> If you're using a strict DOCTYPE, you can't specify a target for a link.
If you switch the DOCTYPE to xhtml 1.0 Transitional, you should be fine
setting targets for your links.
>
> Paul
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Stacie Pearson
> Sent: Friday, January 16, 2009 3:04 PM
> To: thelist html
> Subject: [thelist] Target="_blank" error
>
> How come I am getting this error when I validate my markup?
>
> The tag: "a" doesn't have an attribute: "target" in currently active
> versions.[XHTML 1.0 strict]
>
> The error is referring to: target="_blank".
> I thought that is what I was supposed to use if I wanted the browser
> to open a new tab/window, and not be taken from my site.
>
> Below is the code:
>
> <p>Portfolio photography by <a href="http://www.paulpearsonphoto.com/"
> title="See Paul's site" target="_blank">Paul Pearson
> Photography</a></p>
>
> Thanks,
> Stacie
>
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and
> archives of thelist go to: http://lists.evolt.org Workers of the Web,
> evolt !
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and
> archives of thelist go to: http://lists.evolt.org Workers of the Web,
> evolt !
>
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list