I recently came across a html email that contained _label attributes on the < a > tags? I’ve never seen this before and have searched all over the web but can’t find out whether they are legit attributes.
The weird thing is in Internet Explorer they appear as a title attribute would (appearing on mouseover) but don’t in any other browser.
Example of use:
<a href="#" _label="this is the label">Click here</a>
Does anyone have any idea whether it’s something just Internet Explorer was going to introduce? Or someone at a big company has made a mistake?
I have never seen that used before. The
aelement does not have a_labelorlabelattribute, so it’s invalid HTML.However, it is valid to start an attribute name with an underscore (assuming you’re using XML/XHTML), so perhaps it’s used by some script to produce the tooltip you mentioned. I don’t have IE to hand to check if it always happens.