HTML5 > Elements of HTML

phone number in HTML5

How to insert the phone number in HTML5


Phone number

We can insert the telephone number in the html page

  <h2 style="color:lime">HTML phone number</h2>
        <p>Call this number <a href="tel:+13174562564">9396939669</a>

In the above code snippet we have defined how to insert the phone number in the html page.  

We have defined the phone number in the anchor tag, we have used the "tel:+number" to define the phone number.

output

 Views: 646 | Post Order: 33



Write for us