html中怎么写文件路径的相对地址,

<html> <head> <title>counter</title> </head> <body> <form name=f1 > <table border="0" cellspacing="0" cellpadding="0"><tr> 这是下载文件<a href="C:尀Documents and Settings尀Administrator尀桌面尀test.zip">123</a></body> </html> 如上代码<a href="C:尀Documents and Settings尀Administrator尀桌面尀test.zip">123</a>是文件的绝对地址,在别的机器上访问的话是访问不到的,怎么写他的相对地址在别的机器上可以访问的到呢?服务器IP192.168.0.42,用的apache服务器
2026年09月26日 19:07
有1个网友回答
网友(1):

不知道你服务器怎么 配置的呢,有项目的话 直接丢进去192.168.0.42/ 123.zip