custom-atrib - Forum

Forum Navigation
You need to log in to create posts and topics.

custom-atrib

hello, would you please  tell what does custom-atrib do and how?

thanks

 

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.
Vadimsmartmedia

than you very much.