Does the html5 required attribute degrade gracefully in browsers that don't support it?
-
22-12-2020 - |
Frage
I'd love to use the required
attribute on forms, but I don't know how older browsers will deal with this attribute that is (to them) unknown.
Will older browsers nicely ignore (and thus allow to gracefully degrade) the html5 required
attribute?
Lösung
Yes, browsers will just ignore unknown attributes.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow