Anyone have a site that shows what all can be placed in the anchor tag for
html5?
Yes,
http://www.w3.org
And what those items can do?
They don't do anything. They are data. Data does do things, except in
Star Trek.
<a href="#" data-select="#item1" rel="ajaxpanel" data-loadtype="iframe" >
Like what other offshoots of "data" are there?
You haven't actually read the HTML5 draft, have you? Or even a decent
tutorial on it? Try this:
http://www.w3.org/TR/html5/global-a...tom-non-visible-data-with-the-data-attributes
I'm looking for a full explanation of what the things are used for, not
just what is available.
The very point is that there is no such explanation.
Attributes with names starting with "data-" are a playground for
authors, where they can add attributes without fear of ever having any
default processing for them in browsers, search engines, etc.
You could use them for styling, with attribute selectors. But much more
importantly, they can be used to associate invisible data with elements,
so that this data can be retrieved and modified in client-side JavaScript.
They are by no means limited to <a> tags.
You might ask why authors won't just put the data in JavaScript objects.
Now, that would be a very good question. Instead of messing around with
"data-" attributes, why don't you just use e.g. id attributes for
elements and store element-specific data in a JavaScript object, using
the id value as key? Well, sometimes "data-" attributes are a little
simpler to use.