html - What does the "dynamic" attribute mean on a "span" element? -
i have come across following tag, , curious dynamic
attribute means. google not being helpful, returns results dynamic attributes , dynamically adding attributes, not attribute itself.
so, effect dynamic
attribute have on span
, , possibly other, elements?
there no "dynamic" attribute according standard. however, has been possible add arbitrary attributes elements various reasons , guess 1 of cases. html5 defines standard way add "dynamic" and/or "custom made" attributes elements, that's prefixing attribute "data-". if that, can have own "data" attributes still validate document according html5 standard.
Comments
Post a Comment