<!DOCTYPE html>
<html>
...
<body>
<svg version="1.1" id="svg1" data-kind="myvalue"></svg>
</body>
</html>
When I tried to validate the code above on w3 site, I recieved the error below.
Error: Attribute data-kind not allowed on element svg at this point. ...svg version="1.1" id="svg1" data-kind="button">
How can I write a custom attribute in html5 for inline SVG and how can I create a custom namespace or dtd. I will be approciated if you can show and example or tutorial. I will be waiting for your help about how to solve this problem.