You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Forms - My HTML code is being changed automatically

posted on November 2, 2018 Show version history

I am trying to create a download link in forms using the syntax <a href="link" download></a>

I write this code and save it, when I return to look at why it is not working, some automated system updated my code to this.

<a href="link" download=""></a>

The extra ="" is not valid. Everytime I update my code, it gets changed, what is happening here? I can't create the download code.

 

https://www.w3schools.com/tags/att_a_download.asp

0 0
replied on November 2, 2018 Show version history

Try and use the complete download attribute 

<a download="filename"> or

<a href="/images/myw3schoolsimage.jpg" download="w3logo">

We have an automated HTML cleanup that runs when you leave that section and it is detecting invalid HTML. 

https://www.w3schools.com/tags/att_a_download.asp

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.