disable form css code example
Example: disable form field with css
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
input[name=name] {
pointer-events: none;
}
</style>
</head>
<body>
<input type="text" name="name" value="w3docs">
</body>
</html>