Html – Why can frontend frameworks can create custom attributes but I'm expected to prepend "data-" to mine
Why are frontend frameworks able to create custom attributes on html elements like Vue for instance <div v-for="..."> Html validators complain if I make up my own. <div something> Telling me I should pretend data- like this <div data-something> I…