Re: invalid attribute 'target'

On 12 Apr 2013, at 15:35, Evelien Draaisma wrote:

> I was validating: http://www.graszodenland.nl/graszoden-kopen
> and i received this error.
> Line 358, Column 66: there is no attribute "target"…3 <a 
> href="http://www.conceptnoord.nl" target="_BLANK">Concept 
> Noord</a></span>What is wrong
> with the target='_BLANK'?Can anyone help me?

You are using XHTML 1.0 Strict, which is an XML version of HTML 4.01 
Strict which doesn't include the target attribute (probably either 
because "It belongs in JavaScript" or just "It doesn't belong in HTML").

Your options are:

* Don't foist new windows on users
* Be invalid
* Use Transitional (which wouldn't make much sense as you aren't 
transitioning from HTML 3.2)
* Use (X)HTML 5
* Use JavaScript


-- 
David Dorward
http://dorward.co.uk/

Received on Friday, 12 April 2013 15:31:43 UTC