html <a></a>
标记中href和data-href属性有什么区别? 我当前的代码编写如下:html中定位标记中href和data-href之间的区别
<a id="sign_in_with_facebook" href="verify_phone_process_1.html" class="btn btn-default bubbla-btn">Sign In with Facebook</a>
,当我将其更改为
<a id="sign_in_with_facebook" data-href="verify_phone_process_1.html" class="btn btn-default bubbla-btn">Sign In with Facebook</a>
它不是重定向到verify_phone_process_1.html页。
你可以请我建议我可以检查这些HTML5数据属性的任何链接? – Swamy
我编辑了包含一些链接的答案,请看看。 – CBroe
非常感谢.... :) :) – Swamy