html - Internal page link does not W3C validate -


I have a link for the same place, as it is on the same page:

  & lt; A href = "# info" name = "info" title = "Click to see info" & gt; Click to see info & lt; / A & gt;   

... later ...

  & lt; H3 id = "info" & gt; Here's some info & lt; / H3 & gt; & Lt; P & gt; ... & lt; / P & gt;   

So it works fine, but when I run it through the W3C validator, it says that the name feature is obsolete. Remove the name attribute.

P>

id attribute is the replacement From the same (and on the right element!), And you do not want to link the anchor to yourself anyway.

Comments

Popular posts from this blog

c# - Textbox not clickable but editable -

Matlab transpose a table vector -

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -