HTML5 attributes marked as "not allowed"
Posted: Sat Feb 16, 2019 12:17 pm
Hi, I'm trying to figure it out what I'm doing wrong. When I put an attribute 'download' to an <a> element in my html files Oxygen says 'attribute "download" not allowed here'. My code looks like this:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<a href="whatever" download="whatever"></a>
</body>
</html>
The HTML5 Recommendation says it's a valid attribute ('download - Whether to download the resource instead of navigating to it, and its file name if so'):
https://www.w3.org/TR/html52/textlevel- ... -a-element
So any help how to prevent this error messages in Oxygen XML (v. 20.1) will be appreciated. Thank you in advance!
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<a href="whatever" download="whatever"></a>
</body>
</html>
The HTML5 Recommendation says it's a valid attribute ('download - Whether to download the resource instead of navigating to it, and its file name if so'):
https://www.w3.org/TR/html52/textlevel- ... -a-element
So any help how to prevent this error messages in Oxygen XML (v. 20.1) will be appreciated. Thank you in advance!