Comment by DangerousPie
2 days ago
It's still better than <span> or <div> though, isn't it? Which is what most people are using right now...
2 days ago
It's still better than <span> or <div> though, isn't it? Which is what most people are using right now...
Unlike <div> and <span>, <output> becomes part of the form and you can target it as a named form item, e.g.
Too late to edit, but there is a mistake s/document.elements/myForm.elements/r :
"better" in what sense? If in hypothetical semantic meaning then another old zombie <var> is better in that sense, isn't it?
Those semantics make it more accessible for free.