简体   繁体   English

如何从Android中另一个HTML文件中的链接打开HTML文件?

[英]How to open a HTML file from a link in another HTML file in android?

All HTML files are stored in Android's asset folder.Whenever I click a link in my index.html the linked HTML page doesn't opens. 所有HTML文件都存储在Android的资产文件夹中。每当我单击index.html中的链接时,链接的HTML页面都不会打开。

在此处输入图片说明

Here is the link which I am trying to open from index.html but its not working. 这是我要从index.html打开的链接,但它不起作用。

<a href="file:///android_asset/iv-therapy.html">IV Therapy</a>

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

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