[thelist] Target="_blank" error

Paul Wampler pwampler at cupahr.org
Fri Jan 16 14:19:35 CST 2009


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 !



More information about the thelist mailing list