简体   繁体   中英

href=“tel:” with + in the middle of tel

I'm trying to use href="tel" in tag <a> with tel like **61*+70123456789# . But the plus symbol removing on mobile devices. Looks like + can be only at the start of the tel.

Trying to use %2B instead of + , but it still hiding.

<a href="tel: **67*+70123456789%23">**67*+70123456789#</a>

The tel: prefix on a HTML link tag ( <a> ) is used to compose a phone number. However, phone numbers cannot have a "+" symbol, except at the beginning to indicate the international country code, which is why you cannot do what you are trying.

For more information, check at the E.164 standard about phone number formatting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM