简体   繁体   English

HTML锚点电话标记格式

[英]HTML anchor tel tag formating

I have a small question about the anchor tel: tag in HTML. 我对HTML中的锚tel:标签有一个小问题。

Is this valid, or are there any standards on how to write it properly? 这是有效的,还是有关于如何正确编写的标准?

<a href="tel:+358 50 11 22 33"></a>

It has bugged me about the spaces and the prefix, are they allowed? 它使我对空格和前缀感到困惑,是否允许使用它们?

The standards pretty much say that you can't have spaces. 标准几乎说您不能有空格。 So this: 所以这:

<a href="tel:+358 50 11 22 33"></a>

Is valid HTML. 是有效的HTML。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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