show password type in html code example
Example 1: how to create password input in html
<input type="password" name=""value="">
Example 2: how to make a show password button
function myFunction() {
var x = document.getElementById("*passwordbox-id*");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}