简体   繁体   English

为每个<a>标签</a>添加了Codeigniter base_url()

[英]Codeigniter base_url() added for every <a> tag

I am currently developing a project with CI. 我目前正在开发一个CI项目。 In the project I need to add "tel" in "a" tag for calling from the website. 在项目中,我需要在“a”标签中添加“tel”以便从网站上调用。 I addded like this <a link="tel:+919898989898"> But when I open link from page, the link is like this abc.com/tel:+919898989898 and it is redirecting to a error page.If I manually remove the baseurl from the page it is working. 我添加了这样的<a link="tel:+919898989898">但是当我从页面打开链接时,链接就像这样abc.com/tel:+919898989898并且它重定向到错误页面。如果我手动删除它正在运行的页面中的baseurl。 Please give me some idea why it is happening and how to prevent the baseurl adding auomatically. 请告诉我为什么会发生这种情况以及如何防止baseurl自动添加。 Please don't give link which explain the "tel" tag description 请不要给出解释“tel”标签描述的链接

使用<a href="tel:555-555-5555">555-555-5555</a>.

<a href="tel:1111-2222-33"><img src="path/to/phone/icon.jpg" /></a>

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

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