HTML - Input telephone
by istiq20
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Input Telephone</title>
</head>
<body>
<form action="">
<label for="telepon">Telepon :</label>
<input type="tel" name="telepon" id="telepon" pattern="(62)[0-9]{5,20}"><br>
<input type="submit" value="Simpan">
</form>
</body>
</html>