css - Best group of selectors for all button types in HTML file -


currently, using:

input[type="button"], input[type="submit"], input[type="reset"], button 

is solid group of selectors possible buttons in webpage?

your reference here going html5 spec.

it kind of depends on how define "button"--i assume you're looking @ form control buttons, not links styled buttons, so--do count upload input?

<input type="file"> 

it has button in (in many uas) isn't only button, , want give different css. also, there's:

<input type="image"> 

which input type table w3c describes "either clickable image, or button." other that, looks you've covered, @ least according html5 w3c spec.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -