컴퓨터/HTML

input 전화번호 입력받기 tel pattern

sayyesdoit 2019. 7. 14. 10:26
<input type="tel" name="phone" pattern="[0-9]{3}-[0-9]{4}-[0-9]{4}" />