标签:新手练习 body put submit BMI eth input echo sel
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>更换背景颜色</title>
</head>
<body bgcolor="<?php echo $_GET[‘color‘]; ?>">
<h2>更换背景颜色</h2>
请选择一个颜色:
<form action="bjys.php" method="get">
<select name="color">
<option value="green">绿色</option>
<option value="red">红色</option>
<option value="blue">蓝色</option>
<option value="purple">紫色</option>
<option value="brown">棕色</option>
<option value="pink">粉色</option>
</select>
<input type="submit">
</form>
</body>
</html>
明戈--2018-12-17--19:00:11
标签:新手练习 body put submit BMI eth input echo sel
原文地址:https://www.cnblogs.com/m1556826026/p/10133196.html