Closed Gemorroj closed 6 years ago
Thanks! Shouldn't we omit the type
attribute?
For HTML5
- yes. But we don't have HTML5
.
AFAIK, it is not relevant which Doctype we're declaring, but whether the browser is HTML5 compliant. Also, we should switch to HTML5 output soon.
Comment on behalf of cmb at php.net:
Thanks! Applied via 61ee1bbd584e0eecb56c57983fb012a494a031c7.
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script attribute
language
is deprecated