Even though type=text is optional in HTML, it is required for the [type=text] selector to work.