假设当前的网址是:
我有一个
这是否可能只使用纯HTML(不使用JavaScript或服务器端操作)?
www.my.com/somewhere
。我有一个
href
链接,想让它跳转到:www.my.com/somewhere/subpage
,而不需要在href
中写入当前网址(www.my.com/somewhere
)。这是否可能只使用纯HTML(不使用JavaScript或服务器端操作)?