Just to be safe wrap the attribute value with double or single quotes like input[type='submit'] or input[type="submit"]
Declaring a value or identifier in an attribute selector without any quotes is fine in simple cases like that, but in general, I’d avoid not using quotes.