How can XHTML 1.0 strict not have the target attribute! I use that often, esp when a link takes people off the website to another site! Does this just mean I will almost never use XHTML 1.0 strict? Nan -----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:45 PM To: thelist html Subject: Re: [thelist] Target="_blank" error That worked! No errors. Thanks Paul. On 1/16/09 3: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 !