D
D
dev4002016-07-07 16:07:38
HTML
dev400, 2016-07-07 16:07:38

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?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-07-07
@dev400

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 your question

Ask a Question

731 491 924 answers to any question