mui 自助挂号html
时间: 2023-10-17 16:35:08 浏览: 47
你可以使用以下HTML代码创建一个简单的自助挂号机界面:
```html
<!DOCTYPE html>
<html>
<head>
<title>自助挂号机</title>
<style>
body {
font-family: Arial, sans-serif;
}
form {
width: 300px;
margin: 0 auto;
}
input[type="text"], input[type="number"], select {
width: 100%;
padding: 10px;
margin: 5px 0;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<h2>自助挂号机</h2>
<form action="process.php" method="post">
<label for="name">姓名:</label>
<input type="text" id="name" name="name" required>
<label for="age">年龄:</label>
<input type="number" id="age" name="age" required>
<label for="department">科室:</label>
<select id="department" name="department" required>
<option value="">请选择科室</option>
<option value="内科">内科</option>
<option value="外科">外科</option>
<option value="儿科">儿科</option>
</select>
<input type="submit" value="提交挂号">
</form>
</body>
</html>
```
以上代码是一个基本的自助挂号机的HTML界面,它包括姓名、年龄和科室的输入框以及一个提交按钮。当用户点击提交按钮后,表单数据将被发送到名为`process.php`的处理程序进行处理。你可以根据自己的需求进行修改和定制。
相关推荐
![](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)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)