Categories
What will be the impact of such things?
let's say that the tag has something like its own attribute <span my_data="some_text"></span> . How bad is this?
<span my_data="some_text"></span>
Answer the question
In order to leave comments, you need to log in
what's stopping you from naming the attribute differently? HTML5 added the ability to add a universal data-* attribute to any elements of the DOM tree, for example data-sometext , this will be valid
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question