Monthly Archives: May 2014

HTML 5 – Using attribute ‘id’ instead of attribute ‘name’ for Anchors

As discussed on HTML Anchors with ‘name’ or ‘id’? According to the HTML 5 specification, we should use id attribute instead of name for anchors. Right: <a id=”anchorname”></a> <h1 id=”anchorname”>TEXT</h1> Wrong: <a name=”anchorname”></a> Insisting on using name attribute might … Continue reading

Posted in WordPress | 2 Comments