作者:尛妙苗_549 | 来源:互联网 | 2023-02-05 22:24
I have a simple HTML code:
我有一个简单的HTML代码:
Test Text
Link
Of course on local host the Link (/gallery/images) will be:
当然在本地主机上链接(/ gallery / images)将是:
localhost/gallery/images
My question is; is there a way to change the (localhost) directly when the page is loading and the final html code may be:
我的问题是;有没有办法在加载页面时直接更改(localhost),最终的html代码可能是:
Test Text
Link
= the html of the link becomes:
=链接的HTML变为:
Link
Note: if it could done using Javascript (I think) please tell me how.
注意:如果可以使用Javascript(我认为),请告诉我如何。
3 个解决方案