Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsrights: use id instead of name #564

Open
ngauthier opened this issue Jun 4, 2013 · 2 comments
Open

jsrights: use id instead of name #564

ngauthier opened this issue Jun 4, 2013 · 2 comments

Comments

@ngauthier
Copy link
Contributor

html5 says it should be a link with an id that matches an anchor:

<a id="destination"></a>
<a href="#destination">go to destination</a>
@steveklabnik
Copy link
Contributor

Oh? Didn't know this. Huh.

@ngauthier
Copy link
Contributor Author

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-name

yup.

Also, fun fact: MDN uses name not id despite using an html5 doctype 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants