I use DOCTYPE XHTML 1 Transitional, I have a <a>
with a custom attribute with name data-reveal-id
, this attribute is used by a jQuery script.
I'm not able to validate the document using W3, as data-reveal-id
is not XHTML valid.
Any idea how to solve it?
Many thanks for your help
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
...
<a href="#" data-reveal-id="modal-portfolio-awards">View</a>
Error when validating with W3
there is no attribute "data-reveal-id" [XHTML 1.0 Transitional]