例如一下这行http请求链接代码
<div><a href="http://127.0.0.1/ceshi.html?id=12" target="_blank" class="button">查阅详情</a></div>
那么我在 ceshi.html 这个静态网页中 如何写代码 获取 id 的值呢?
[此贴子已经被作者于2023/12/25 11:26:08编辑过]
ceshi.html 网页代码如下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c />
<title>无标题文档</title>
</head>
<body>
接收到的id值为12
</body>
</html>
就是上面这段网页代码 接收id的参数 这里的html代码是怎么写的?