When HTML5 autocomplete is on, the browser will automatically complete values that the user has entered before. This HTML5 autocomplete attribute works with the following input types: text, search, url, tel, email, password, datepickers, range, and color. Also you can turn off this autocomplete attribute by using this attribute autocomplete="off" [php] <form action="/" autocomplete="on"> First […]
HTML5 input autofocus Attribute
HTML5 allows us input autofocus attribute on elements when page loads. This is accomplished by using the autofocus attribute. Using this autofocus attribute the INPUT, TEXTAREA, or BUTTON element will be automatically selected on page load. The best part is no JavaScript is needed. This autofocus attribute can be set using this 3 ways : […]