- From: Bill Braun <bbraun@hlthsys.com>
- Date: Wed, 07 Jul 2010 08:49:07 -0400
- To: "[list-email] W3 Amaya" <www-amaya@w3.org>
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 12:49:19 UTC