HOW TO write an attribut without a value vanilla js code example Example: jquery add attribute without value $('body').attr('data-body','');