html页面a标签里的地址如何通过配置文件.propertie获取

html页面a标签里的地址如何通过配置文件.propertie获取 因为地址会变,不能写死,应该如何获取

用js去获取啊,首先js读取配置文件,以下是教程连接
JavaScript文件中读取properties文件的方法
然后更新到html:
document.getElementById("a标签ID").href="地址";