S
Sergio del Amo Caballero
Hello,
I want to validate my simple page with xhtml 1.0 strict. But i want to
use javasript inside. When i try the validator the answer is:
Error:
# Line 33, column 39: there is no attribute "onClick"
<a href="http://www.marca.com" onClick="newwindow();return false">Click
Here!<..
newwindow is a function.
How can i use javascript inside xhtml 1.0 using for example onClick or
onMouseover with a valid xhtml 1.0?.
My Doctype is this:
<!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" lang="en-US" xml:lang="en-US">
Waiting for your feedback.
I want to validate my simple page with xhtml 1.0 strict. But i want to
use javasript inside. When i try the validator the answer is:
Error:
# Line 33, column 39: there is no attribute "onClick"
<a href="http://www.marca.com" onClick="newwindow();return false">Click
Here!<..
newwindow is a function.
How can i use javascript inside xhtml 1.0 using for example onClick or
onMouseover with a valid xhtml 1.0?.
My Doctype is this:
<!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" lang="en-US" xml:lang="en-US">
Waiting for your feedback.