- The control property of the tag
- Placehoulder property for the text box
- The list property of the text box
- AutoComplete property of the text box
- Pattern property of the text box
- SelectionDirection property of the text box
- The indeTerminate property of the checkbox
- Image submits the height and width properties of the button
1. The control property of the tag
Code demo:
<! DOCTYPEhtml>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The control property of the tag</title>
</head>
<body>
<script>
function setValue(){
var lable = document.getElementById("lable");
var textbox = lable.control;
textbox.value="122352";
}
</script>
<form>
<lable id="lable">
Copy the code