telephone input type in html code example Example 1: input type tel <input type="tel"></input> Example 2: phone input html <input type="tel"/>