写一个网页的页面代码,是有关购物的
时间: 2023-05-18 13:06:39 浏览: 46
<!DOCTYPE html>
<html>
<head>
<title>购物页面</title>
</head>
<body>
<h1>欢迎来到购物页面</h1>
<p>以下是我们的商品列表:</p>
<ul>
<li>商品1</li>
<li>商品2</li>
<li>商品3</li>
</ul>
<form action="checkout.php" method="post">
<label for="name">姓名:</label>
<input type="text" id="name" name="name"><br><br>
<label for="email">邮箱:</label>
<input type="email" id="email" name="email"><br><br>
<label for="address">地址:</label>
<input type="text" id="address" name="address"><br><br>
<label for="product">选择商品:</label>
<select id="product" name="product">
<option value="1">商品1</option>
<option value="2">商品2</option>
<option value="3">商品3</option>
</select><br><br>
<label for="quantity">数量:</label>
<input type="number" id="quantity" name="quantity"><br><br>
<input type="submit" value="结算">
</form>
</body>
</html>
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)