This is more an HTML question than ASP.NET, but since there's no HTML forum (and the answers I've gotten from google are not helpful) here goes:
I see this a lot (example from Foundation):
Is this some bizarre shortcut that only HTML understands? What if I assign a value like an empty string?
I see this frequently in javascript libraries, it's not something exclusive to Foundation.
Thoughts?
Marc
I see this a lot (example from Foundation):
<nav class="top-bar" data-topbar</nav>
data-topbar
is invalid XML because it has no value (no =''
)Is this some bizarre shortcut that only HTML understands? What if I assign a value like an empty string?
I see this frequently in javascript libraries, it's not something exclusive to Foundation.
Thoughts?
Marc