So the autocomplete="off" attribute is invalid HTML according to the w3c. Are there valid ways to do this in HTML, CSS or JavaScript? Or do we just have to plan on some of our forms not validating because we want to use this functionality.
autocomplete
is valid HTML5 and is supported by all major browsers. What more do you want?