Re: Parsing Error in Error?

Thank you Laurent. Much appreciated.

Bill

Laurent Carcone wrote:
> Hello,
>
> The attribute 'target_' is not allowed for the element <a> in a XHTML 
> 1.0 strict document
> Here is the XHTML 1.0 Strict Cheat Sheet: 
> http://www.w3.org/2010/04/xhtml10-strict.html
> This attribute is allowed in the profile XHTML 1.0 Transitional, if 
> you want to use it, you can change the doctype of your document with 
> the function Tools > Change Doctype.
>
> Thanks,
> Laurent Carcone
>
>
> Bill Braun wrote:
>> Follow-on...
>>
>> I corrected the malformed <a/> to </a> and the error persists.
>>
>> Bill
>>
>>
>> Bill Braun wrote:
>>> Amaya is reporting that the the following code is in error.
>>>
>>> <a href="gohere.html" target="_blank">Blah blah blah<a/>
>>>
>>> Error message is: line 40, char 0: Invalid XHTML attribute "target" 
>>> for the document profile
>>>
>>> W3Schools HTML reference offers this as the syntax example.
>>>
>>>    The target attribute specifies where to open the linked document:
>>>    <a href="http://www.w3schools.com" target="_blank">Visit 
>>> W3Schools</a>
>>>
>>> Doctype and <head>:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html xmlns="http://www.w3.org/1999/xhtml">
>>> <head>
>>>  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
>>>  <title></title>
>>>  <meta name="generator" content="Amaya, see 
>>> http://www.w3.org/Amaya/" />
>>>  <link rel="stylesheet" href="style.css" type="text/css" />
>>>  <link rel="shortcut icon" href="images/favicon.ico" 
>>> type="image/x-icon" />
>>> </head>
>>>
>>>
>>> Any thoughts on why Amaya does not like the use of "target"?
>>>
>>> Bill B
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>

Received on Wednesday, 7 July 2010 13:37:22 UTC