HTML5 link anchor must have an ID

According HTML5, using name inside the link is no longer valid, obsolete, deprecated.

From now on all your anchor links should have an id.

Obsolete

New HTML5 valid

More info:

http://www.w3.org/html/wg/drafts/html/master/browsers.html#scroll-to-fragid

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*