Quote from
luishp on July 29, 2021, 12:27 pm
Hi @kazem,
It's useful in many cases. As VisualNEO Web can't manage all possible HTML5 tag attributes you can add your own here. For example you can add this as a custom-atrib to any image in order to show a message once it has been loaded:
onload="alert('The image has been completely downloaded');"
Of course this is an existing one, but you can add your own ones too. More information here:
https://html5doctor.com/html5-custom-data-attributes/
https://www.sitepoint.com/how-why-use-html5-custom-data-attributes/
Regards.
Hi @kazem,
It's useful in many cases. As VisualNEO Web can't manage all possible HTML5 tag attributes you can add your own here. For example you can add this as a custom-atrib to any image in order to show a message once it has been loaded:
onload="alert('The image has been completely downloaded');"
Of course this is an existing one, but you can add your own ones too. More information here:
https://html5doctor.com/html5-custom-data-attributes/
https://www.sitepoint.com/how-why-use-html5-custom-data-attributes/
Regards.
Vadim and smartmedia have reacted to this post.