How to Disable or Turn on/off HTML5 Form Fields Autocomplete Suggestions in Browser Full Project For Beginners


Welcome folks today in this blog post we will be disabling or turning on/off html5 form fields autocomplete suggestions in browser.All the full source code of the application is given below.




Get Started




In order to get started you need to make an index.html file and copy paste the following code






<!DOCTYPE html>

    <title>Autocmplete on/off</title>

        h1 {
            color: green;

<body style="text-align:center;">
    <h1 style="color:green;">
    <h4>Autocmplete on/off</h4>
    <form action=""
        First name: <input type="text" name="fname">
        Last name: <input type="text" name="lname">
        Email_id: <input type="email" name="email"
        <input type="submit">
        <b>Note:</b> autocomplete is "on" for the
        form, but "off" for the e-mail field.



See also  How to Flip an Image on Mouse Hover Using Pure CSS3 Full Project For Beginners



In the above code we are using the special html5 form attribute called autocomplete to turn on/off autocomplete suggestions inside the form input fields

Leave a Reply