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

Javascript attributter skal være konsekvent lowercase #3

Closed
nielsrune opened this issue Jan 22, 2016 · 0 comments
Closed

Javascript attributter skal være konsekvent lowercase #3

nielsrune opened this issue Jan 22, 2016 · 0 comments

Comments

@nielsrune
Copy link
Owner

Attributten skal skrives onclick= - ikke onClick= eller OnClick= da det ikke understøttes i alle browsere.

Samme med øvrige eventattributter i det omfang, de bruges.
HTML 4.01 : https://www.w3.org/TR/html401/index/attributes.html
HTML5 tillader vist begge dele, men konventionelt skrives både elementer og attributter altid med lowercase.

nielsrune added a commit that referenced this issue Nov 15, 2017
Signed-off-by: Niels Rune Brandt <nielsrune@hotmail.com>
nielsrune added a commit that referenced this issue Nov 19, 2017
This reverts commit d320741.
nielsrune added a commit that referenced this issue Nov 19, 2017
nielsrune added a commit that referenced this issue Nov 19, 2017
Signed-off-by: Niels Rune Brandt <nielsrune@hotmail.com>
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

1 participant