How to simplify your markup using IDs for anchors | Perishable Press
Use id's instead of name's for anchors. There are a couple of advantages: Any element with an id can be targeted as an anchor, and many elements you would want to be a target already have an id for CSS styling, so you can both save space, and simplify the DOM. IE8 in quirks mode can't dynamically change the name of an <a>, it will instead create a new attribute submitName, which is not targetable as an anchor. How to simplify your markup using IDs for anchors | Perishable Press