检查以下错误代码<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <form id="myform" action="javascript:void(0)" method="post"> <input type="hidden" name="pno" value="1" /> <input type="hidden" name="psize" value="3
时间: 2023-07-02 09:04:21 浏览: 465
错误代码显示
这段代码缺少一个闭合的标签。应该在第9行后加上 `</form>` 来关闭表单元素。修改后的代码如下:
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<form id="myform" action="javascript:void(0)" method="post">
<input type="hidden" name="pno" value="1" />
<input type="hidden" name="psize" value="3" />
</form>
</body>
</html>
```
阅读全文