How to Disable HTML5 Input Field And Make It Un-clickable in Browser Full Project For Beginners

 

Welcome folks today in this blog post we will be disabling html5 input field and make it un-clickable in browser. All the full source code of the application is shown below.

 

 

 

Get Started

 

 

 

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

 

 

index.html

 

 

<form action="process.php">
  Test form field with disabled attribute: <input type="text" name="disable_field" disabled><br>
  Test form field without disabled attribute: <input type="text" name="lname" ><br>
  <input type="submit" value="Submit">
</form>

Leave a Reply