Re: Parsing Error in Error?

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:03:02 UTC